minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/jg9g0gs0x0f69m8mn31syic45bf9lwh9-git-2.50.1/libexec/git-core
Executes a child processForce-deletes a shell variable target
SHA-256b46c7d62f0d51802c310cdf6feadfacc82faaad1d945da50687ad27d15b69113
MaleculeH₂(FPo₂)
Evidence
1#!/nix/store/l9k32vj2aczxw62134j1x0dsh569jz2l-bash-5.2p37/bin/bash
2#
3# Copyright (c) Linus Torvalds, 2005
4#
5# This is the git per-file merge script, called with
6#
7# $1 - original file SHA1 (or empty)
8# $2 - file in branch1 SHA1 (or empty)
9# $3 - file …
15:10… some trivial cases.. The _really_ trivial cases have
16# been handled already by git read-tree, but that one doesn't
17# do any merges that might change the tree layout.
18
19USAGE='<orig blob> <our blob> < …
21:8… AGE="usage: git merge-one-file $USAGE
22
23Blob ids and modes should be empty for missing files."
24
25SUBDIRECTORY_OK=Yes
⋯13 lines
56:37… ested. Make sure
57 # we do not have it in the index, though.
58 exec git update-index --remove -- "$4"
59 fi
60 if test -f "$4"
61 then
62 rm -f -- "$4" &&
63 rmdir -p "$(expr "z$4" : 'z\(.*\)/')" 2>/dev/null || :
64 fi &&
⋯8 lines
142:9… ckout-index -f --stage=2 -- "$4" && cat "$src1" >"$4" || exit 1
143 rm -f -- "$orig" "$src1" "$src2"
144
145 if test "$6" != "$7"
⋯6 lines