X7ROOT File Manager
Current Path:
/usr/libexec/git-core
usr
/
libexec
/
git-core
/
ðŸ“
..
📄
git
(3.67 MB)
📄
git-add
(3.67 MB)
📄
git-am
(3.67 MB)
📄
git-annotate
(3.67 MB)
📄
git-apply
(3.67 MB)
📄
git-archive
(3.67 MB)
📄
git-bisect
(3.67 MB)
📄
git-blame
(3.67 MB)
📄
git-branch
(3.67 MB)
📄
git-bugreport
(3.67 MB)
📄
git-bundle
(3.67 MB)
📄
git-cat-file
(3.67 MB)
📄
git-check-attr
(3.67 MB)
📄
git-check-ignore
(3.67 MB)
📄
git-check-mailmap
(3.67 MB)
📄
git-check-ref-format
(3.67 MB)
📄
git-checkout
(3.67 MB)
📄
git-checkout--worker
(3.67 MB)
📄
git-checkout-index
(3.67 MB)
📄
git-cherry
(3.67 MB)
📄
git-cherry-pick
(3.67 MB)
📄
git-clean
(3.67 MB)
📄
git-clone
(3.67 MB)
📄
git-column
(3.67 MB)
📄
git-commit
(3.67 MB)
📄
git-commit-graph
(3.67 MB)
📄
git-commit-tree
(3.67 MB)
📄
git-config
(3.67 MB)
📄
git-contacts
(4.4 KB)
📄
git-count-objects
(3.67 MB)
📄
git-credential
(3.67 MB)
📄
git-credential-cache
(3.67 MB)
📄
git-credential-cache--daemon
(3.67 MB)
📄
git-credential-netrc
(10.69 KB)
📄
git-credential-store
(3.67 MB)
📄
git-describe
(3.67 MB)
📄
git-diagnose
(3.67 MB)
📄
git-diff
(3.67 MB)
📄
git-diff-files
(3.67 MB)
📄
git-diff-index
(3.67 MB)
📄
git-diff-tree
(3.67 MB)
📄
git-difftool
(3.67 MB)
📄
git-difftool--helper
(2.55 KB)
📄
git-fast-export
(3.67 MB)
📄
git-fast-import
(3.67 MB)
📄
git-fetch
(3.67 MB)
📄
git-fetch-pack
(3.67 MB)
📄
git-filter-branch
(15.49 KB)
📄
git-fmt-merge-msg
(3.67 MB)
📄
git-for-each-ref
(3.67 MB)
📄
git-for-each-repo
(3.67 MB)
📄
git-format-patch
(3.67 MB)
📄
git-fsck
(3.67 MB)
📄
git-fsck-objects
(3.67 MB)
📄
git-fsmonitor--daemon
(3.67 MB)
📄
git-gc
(3.67 MB)
📄
git-get-tar-commit-id
(3.67 MB)
📄
git-grep
(3.67 MB)
📄
git-hash-object
(3.67 MB)
📄
git-help
(3.67 MB)
📄
git-hook
(3.67 MB)
📄
git-http-backend
(2.14 MB)
📄
git-http-fetch
(2.18 MB)
📄
git-http-push
(2.19 MB)
📄
git-imap-send
(2.19 MB)
📄
git-index-pack
(3.67 MB)
📄
git-init
(3.67 MB)
📄
git-init-db
(3.67 MB)
📄
git-interpret-trailers
(3.67 MB)
📄
git-log
(3.67 MB)
📄
git-ls-files
(3.67 MB)
📄
git-ls-remote
(3.67 MB)
📄
git-ls-tree
(3.67 MB)
📄
git-mailinfo
(3.67 MB)
📄
git-mailsplit
(3.67 MB)
📄
git-maintenance
(3.67 MB)
📄
git-merge
(3.67 MB)
📄
git-merge-base
(3.67 MB)
📄
git-merge-file
(3.67 MB)
📄
git-merge-index
(3.67 MB)
📄
git-merge-octopus
(2.42 KB)
📄
git-merge-one-file
(3.61 KB)
📄
git-merge-ours
(3.67 MB)
📄
git-merge-recursive
(3.67 MB)
📄
git-merge-resolve
(1.2 KB)
📄
git-merge-subtree
(3.67 MB)
📄
git-merge-tree
(3.67 MB)
📄
git-mergetool
(11.42 KB)
📄
git-mergetool--lib
(10.48 KB)
📄
git-mktag
(3.67 MB)
📄
git-mktree
(3.67 MB)
📄
git-multi-pack-index
(3.67 MB)
📄
git-mv
(3.67 MB)
📄
git-name-rev
(3.67 MB)
📄
git-notes
(3.67 MB)
📄
git-pack-objects
(3.67 MB)
📄
git-pack-redundant
(3.67 MB)
📄
git-pack-refs
(3.67 MB)
📄
git-patch-id
(3.67 MB)
📄
git-prune
(3.67 MB)
📄
git-prune-packed
(3.67 MB)
📄
git-pull
(3.67 MB)
📄
git-push
(3.67 MB)
📄
git-quiltimport
(3.61 KB)
📄
git-range-diff
(3.67 MB)
📄
git-read-tree
(3.67 MB)
📄
git-rebase
(3.67 MB)
📄
git-receive-pack
(3.67 MB)
📄
git-reflog
(3.67 MB)
📄
git-remote
(3.67 MB)
📄
git-remote-ext
(3.67 MB)
📄
git-remote-fd
(3.67 MB)
📄
git-remote-ftp
(2.19 MB)
📄
git-remote-ftps
(2.19 MB)
📄
git-remote-http
(2.19 MB)
📄
git-remote-https
(2.19 MB)
📄
git-repack
(3.67 MB)
📄
git-replace
(3.67 MB)
📄
git-request-pull
(4.05 KB)
📄
git-rerere
(3.67 MB)
📄
git-reset
(3.67 MB)
📄
git-restore
(3.67 MB)
📄
git-rev-list
(3.67 MB)
📄
git-rev-parse
(3.67 MB)
📄
git-revert
(3.67 MB)
📄
git-rm
(3.67 MB)
📄
git-send-pack
(3.67 MB)
📄
git-sh-i18n
(1.64 KB)
📄
git-sh-i18n--envsubst
(2.13 MB)
📄
git-sh-setup
(8.2 KB)
📄
git-shell
(2.13 MB)
📄
git-shortlog
(3.67 MB)
📄
git-show
(3.67 MB)
📄
git-show-branch
(3.67 MB)
📄
git-show-index
(3.67 MB)
📄
git-show-ref
(3.67 MB)
📄
git-sparse-checkout
(3.67 MB)
📄
git-stage
(3.67 MB)
📄
git-stash
(3.67 MB)
📄
git-status
(3.67 MB)
📄
git-stripspace
(3.67 MB)
📄
git-submodule
(10.26 KB)
📄
git-submodule--helper
(3.67 MB)
📄
git-switch
(3.67 MB)
📄
git-symbolic-ref
(3.67 MB)
📄
git-tag
(3.67 MB)
📄
git-unpack-file
(3.67 MB)
📄
git-unpack-objects
(3.67 MB)
📄
git-update-index
(3.67 MB)
📄
git-update-ref
(3.67 MB)
📄
git-update-server-info
(3.67 MB)
📄
git-upload-archive
(3.67 MB)
📄
git-upload-pack
(3.67 MB)
📄
git-var
(3.67 MB)
📄
git-verify-commit
(3.67 MB)
📄
git-verify-pack
(3.67 MB)
📄
git-verify-tag
(3.67 MB)
📄
git-version
(3.67 MB)
📄
git-web--browse
(4.3 KB)
📄
git-whatchanged
(3.67 MB)
📄
git-worktree
(3.67 MB)
📄
git-write-tree
(3.67 MB)
ðŸ“
mergetools
📄
scalar
(2.18 MB)
Editing: git-merge-one-file
#!/bin/sh # # Copyright (c) Linus Torvalds, 2005 # # This is the git per-file merge script, called with # # $1 - original file SHA1 (or empty) # $2 - file in branch1 SHA1 (or empty) # $3 - file in branch2 SHA1 (or empty) # $4 - pathname in repository # $5 - original file mode (or empty) # $6 - file in branch1 mode (or empty) # $7 - file in branch2 mode (or empty) # # Handle some trivial cases.. The _really_ trivial cases have # been handled already by git read-tree, but that one doesn't # do any merges that might change the tree layout. USAGE='<orig blob> <our blob> <their blob> <path>' USAGE="$USAGE <orig mode> <our mode> <their mode>" LONG_USAGE="usage: git merge-one-file $USAGE Blob ids and modes should be empty for missing files." SUBDIRECTORY_OK=Yes . git-sh-setup cd_to_toplevel require_work_tree if test $# != 7 then echo "$LONG_USAGE" exit 1 fi case "${1:-.}${2:-.}${3:-.}" in # # Deleted in both or deleted in one and unchanged in the other # "$1.." | "$1.$1" | "$1$1.") if { test -z "$6" && test "$5" != "$7"; } || { test -z "$7" && test "$5" != "$6"; } then echo "ERROR: File $4 deleted on one branch but had its" >&2 echo "ERROR: permissions changed on the other." >&2 exit 1 fi if test -n "$2" then echo "Removing $4" else # read-tree checked that index matches HEAD already, # so we know we do not have this path tracked. # there may be an unrelated working tree file here, # which we should just leave unmolested. Make sure # we do not have it in the index, though. exec git update-index --remove -- "$4" fi if test -f "$4" then rm -f -- "$4" && rmdir -p "$(expr "z$4" : 'z\(.*\)/')" 2>/dev/null || : fi && exec git update-index --remove -- "$4" ;; # # Added in one. # ".$2.") # the other side did not add and we added so there is nothing # to be done, except making the path merged. exec git update-index --add --cacheinfo "$6" "$2" "$4" ;; "..$3") echo "Adding $4" if test -f "$4" then echo "ERROR: untracked $4 is overwritten by the merge." >&2 exit 1 fi git update-index --add --cacheinfo "$7" "$3" "$4" && exec git checkout-index -u -f -- "$4" ;; # # Added in both, identically (check for same permissions). # ".$3$2") if test "$6" != "$7" then echo "ERROR: File $4 added identically in both branches," >&2 echo "ERROR: but permissions conflict $6->$7." >&2 exit 1 fi echo "Adding $4" git update-index --add --cacheinfo "$6" "$2" "$4" && exec git checkout-index -u -f -- "$4" ;; # # Modified in both, but differently. # "$1$2$3" | ".$2$3") case ",$6,$7," in *,120000,*) echo "ERROR: $4: Not merging symbolic link changes." >&2 exit 1 ;; *,160000,*) echo "ERROR: $4: Not merging conflicting submodule changes." >&2 exit 1 ;; esac src1=$(git unpack-file $2) src2=$(git unpack-file $3) case "$1" in '') echo "Added $4 in both, but differently." orig=$(git unpack-file $(git hash-object /dev/null)) ;; *) echo "Auto-merging $4" orig=$(git unpack-file $1) ;; esac git merge-file "$src1" "$orig" "$src2" ret=$? msg= if test $ret != 0 || test -z "$1" then msg='content conflict' ret=1 fi # Create the working tree file, using "our tree" version from the # index, and then store the result of the merge. git checkout-index -f --stage=2 -- "$4" && cat "$src1" >"$4" || exit 1 rm -f -- "$orig" "$src1" "$src2" if test "$6" != "$7" then if test -n "$msg" then msg="$msg, " fi msg="${msg}permissions conflict: $5->$6,$7" ret=1 fi if test $ret != 0 then echo "ERROR: $msg in $4" >&2 exit 1 fi exec git update-index -- "$4" ;; *) echo "ERROR: $4: Not handling case $1 -> $2 -> $3" >&2 ;; esac exit 1
Upload File
Create Folder