/usr/libexec/git-core
NameSizeModeActions
mergetools/-0755rm
git38459280755editdlrm
git-add38459280755editdlrm
git-am38459280755editdlrm
git-annotate38459280755editdlrm
git-apply38459280755editdlrm
git-archive38459280755editdlrm
git-bisect38459280755editdlrm
git-blame38459280755editdlrm
git-branch38459280755editdlrm
git-bugreport38459280755editdlrm
git-bundle38459280755editdlrm
git-cat-file38459280755editdlrm
git-check-attr38459280755editdlrm
git-check-ignore38459280755editdlrm
git-check-mailmap38459280755editdlrm
git-check-ref-format38459280755editdlrm
git-checkout38459280755editdlrm
git-checkout--worker38459280755editdlrm
git-checkout-index38459280755editdlrm
git-cherry38459280755editdlrm
git-cherry-pick38459280755editdlrm
git-clean38459280755editdlrm
git-clone38459280755editdlrm
git-column38459280755editdlrm
git-commit38459280755editdlrm
git-commit-graph38459280755editdlrm
git-commit-tree38459280755editdlrm
git-config38459280755editdlrm
git-contacts45090755editdlrm
git-count-objects38459280755editdlrm
git-credential38459280755editdlrm
git-credential-cache38459280755editdlrm
git-credential-cache--daemon38459280755editdlrm
git-credential-netrc109450755editdlrm
git-credential-store38459280755editdlrm
git-describe38459280755editdlrm
git-diagnose38459280755editdlrm
git-diff38459280755editdlrm
git-diff-files38459280755editdlrm
git-diff-index38459280755editdlrm
git-diff-tree38459280755editdlrm
git-difftool38459280755editdlrm
git-difftool--helper26090755editdlrm
git-fast-export38459280755editdlrm
git-fast-import38459280755editdlrm
git-fetch38459280755editdlrm
git-fetch-pack38459280755editdlrm
git-filter-branch158570755editdlrm
git-fmt-merge-msg38459280755editdlrm
git-for-each-ref38459280755editdlrm
git-for-each-repo38459280755editdlrm
git-format-patch38459280755editdlrm
git-fsck38459280755editdlrm
git-fsck-objects38459280755editdlrm
git-fsmonitor--daemon38459280755editdlrm
git-gc38459280755editdlrm
git-get-tar-commit-id38459280755editdlrm
git-grep38459280755editdlrm
git-hash-object38459280755editdlrm
git-help38459280755editdlrm
git-hook38459280755editdlrm
git-http-backend22494080755editdlrm
git-http-fetch22832240755editdlrm
git-http-push22914480755editdlrm
git-imap-send22921040755editdlrm
git-index-pack38459280755editdlrm
git-init38459280755editdlrm
git-init-db38459280755editdlrm
git-interpret-trailers38459280755editdlrm
git-log38459280755editdlrm
git-ls-files38459280755editdlrm
git-ls-remote38459280755editdlrm
git-ls-tree38459280755editdlrm
git-mailinfo38459280755editdlrm
git-mailsplit38459280755editdlrm
git-maintenance38459280755editdlrm
git-merge38459280755editdlrm
git-merge-base38459280755editdlrm
git-merge-file38459280755editdlrm
git-merge-index38459280755editdlrm
git-merge-octopus24770755editdlrm
git-merge-one-file36950755editdlrm
git-merge-ours38459280755editdlrm
git-merge-recursive38459280755editdlrm
git-merge-resolve12260755editdlrm
git-merge-subtree38459280755editdlrm
git-merge-tree38459280755editdlrm
git-mergetool116930755editdlrm
git-mergetool--lib107280644editdlrm
git-mktag38459280755editdlrm
git-mktree38459280755editdlrm
git-multi-pack-index38459280755editdlrm
git-mv38459280755editdlrm
git-name-rev38459280755editdlrm
git-notes38459280755editdlrm
git-pack-objects38459280755editdlrm
git-pack-redundant38459280755editdlrm
git-pack-refs38459280755editdlrm
git-patch-id38459280755editdlrm
git-prune38459280755editdlrm
git-prune-packed38459280755editdlrm
git-pull38459280755editdlrm
git-push38459280755editdlrm
git-quiltimport36930755editdlrm
git-range-diff38459280755editdlrm
git-read-tree38459280755editdlrm
git-rebase38459280755editdlrm
git-receive-pack38459280755editdlrm
git-reflog38459280755editdlrm
git-remote38459280755editdlrm
git-remote-ext38459280755editdlrm
git-remote-fd38459280755editdlrm
git-remote-ftp22996640755editdlrm
git-remote-ftps22996640755editdlrm
git-remote-http22996640755editdlrm
git-remote-https22996640755editdlrm
git-repack38459280755editdlrm
git-replace38459280755editdlrm
git-request-pull41470755editdlrm
git-rerere38459280755editdlrm
git-reset38459280755editdlrm
git-restore38459280755editdlrm
git-rev-list38459280755editdlrm
git-rev-parse38459280755editdlrm
git-revert38459280755editdlrm
git-rm38459280755editdlrm
git-send-pack38459280755editdlrm
git-sh-i18n16830644editdlrm
git-sh-i18n--envsubst22365280755editdlrm
git-sh-setup83980644editdlrm
git-shell22366880755editdlrm
git-shortlog38459280755editdlrm
git-show38459280755editdlrm
git-show-branch38459280755editdlrm
git-show-index38459280755editdlrm
git-show-ref38459280755editdlrm
git-sparse-checkout38459280755editdlrm
git-stage38459280755editdlrm
git-stash38459280755editdlrm
git-status38459280755editdlrm
git-stripspace38459280755editdlrm
git-submodule105080755editdlrm
git-submodule--helper38459280755editdlrm
git-switch38459280755editdlrm
git-symbolic-ref38459280755editdlrm
git-tag38459280755editdlrm
git-unpack-file38459280755editdlrm
git-unpack-objects38459280755editdlrm
git-update-index38459280755editdlrm
git-update-ref38459280755editdlrm
git-update-server-info38459280755editdlrm
git-upload-archive38459280755editdlrm
git-upload-pack38459280755editdlrm
git-var38459280755editdlrm
git-verify-commit38459280755editdlrm
git-verify-pack38459280755editdlrm
git-verify-tag38459280755editdlrm
git-version38459280755editdlrm
git-web--browse44010755editdlrm
git-whatchanged38459280755editdlrm
git-worktree38459280755editdlrm
git-write-tree38459280755editdlrm
scalar22909120755editdlrm
Edit: /usr/libexec/git-core/git-difftool--helper (2609B)
#!/bin/sh # git-difftool--helper is a GIT_EXTERNAL_DIFF-compatible diff tool launcher. # This script is typically launched by using the 'git difftool' # convenience command. # # Copyright (c) 2009, 2010 David Aguilar TOOL_MODE=diff . git-mergetool--lib # difftool.prompt controls the default prompt/no-prompt behavior # and is overridden with $GIT_DIFFTOOL*_PROMPT. should_prompt () { prompt_merge=$(git config --bool mergetool.prompt || echo true) prompt=$(git config --bool difftool.prompt || echo $prompt_merge) if test "$prompt" = true then test -z "$GIT_DIFFTOOL_NO_PROMPT" else test -n "$GIT_DIFFTOOL_PROMPT" fi } # Indicates that --extcmd=... was specified use_ext_cmd () { test -n "$GIT_DIFFTOOL_EXTCMD" } launch_merge_tool () { # Merged is the filename as it appears in the work tree # Local is the contents of a/filename # Remote is the contents of b/filename # Custom merge tool commands might use $BASE so we provide it MERGED="$1" LOCAL="$2" REMOTE="$3" BASE="$1" # $LOCAL and $REMOTE are temporary files so prompt # the user with the real $MERGED name before launching $merge_tool. if should_prompt then printf "\nViewing (%s/%s): '%s'\n" "$GIT_DIFF_PATH_COUNTER" \ "$GIT_DIFF_PATH_TOTAL" "$MERGED" if use_ext_cmd then printf "Launch '%s' [Y/n]? " \ "$GIT_DIFFTOOL_EXTCMD" else printf "Launch '%s' [Y/n]? " "$merge_tool" fi read ans || return if test "$ans" = n then return fi fi if use_ext_cmd then export BASE eval $GIT_DIFFTOOL_EXTCMD '"$LOCAL"' '"$REMOTE"' else initialize_merge_tool "$merge_tool" # ignore the error from the above --- run_merge_tool # will diagnose unusable tool by itself run_merge_tool "$merge_tool" fi } if ! use_ext_cmd then if test -n "$GIT_DIFF_TOOL" then merge_tool="$GIT_DIFF_TOOL" else merge_tool="$(get_merge_tool)" subshell_exit_status=$? if test $subshell_exit_status -gt 1 then exit $subshell_exit_status fi fi fi if test -n "$GIT_DIFFTOOL_DIRDIFF" then LOCAL="$1" REMOTE="$2" initialize_merge_tool "$merge_tool" # ignore the error from the above --- run_merge_tool # will diagnose unusable tool by itself run_merge_tool "$merge_tool" false else # Launch the merge tool on each path provided by 'git diff' while test $# -gt 6 do launch_merge_tool "$1" "$2" "$5" status=$? if test $status -ge 126 then # Command not found (127), not executable (126) or # exited via a signal (>= 128). exit $status fi if test "$status" != 0 && test "$GIT_DIFFTOOL_TRUST_EXIT_CODE" = true then exit $status fi shift 7 done fi exit 0