/snap/gh/640/usr/lib/git-core
NameSizeModeActions
mergetools/-0755rm
git40662320755editdlrm
git-add40662320755editdlrm
git-am40662320755editdlrm
git-annotate40662320755editdlrm
git-apply40662320755editdlrm
git-archive40662320755editdlrm
git-bisect40662320755editdlrm
git-blame40662320755editdlrm
git-branch40662320755editdlrm
git-bugreport40662320755editdlrm
git-bundle40662320755editdlrm
git-cat-file40662320755editdlrm
git-check-attr40662320755editdlrm
git-check-ignore40662320755editdlrm
git-check-mailmap40662320755editdlrm
git-check-ref-format40662320755editdlrm
git-checkout40662320755editdlrm
git-checkout--worker40662320755editdlrm
git-checkout-index40662320755editdlrm
git-cherry40662320755editdlrm
git-cherry-pick40662320755editdlrm
git-clean40662320755editdlrm
git-clone40662320755editdlrm
git-column40662320755editdlrm
git-commit40662320755editdlrm
git-commit-graph40662320755editdlrm
git-commit-tree40662320755editdlrm
git-config40662320755editdlrm
git-count-objects40662320755editdlrm
git-credential40662320755editdlrm
git-credential-cache40662320755editdlrm
git-credential-cache--daemon40662320755editdlrm
git-credential-store40662320755editdlrm
git-daemon6607120755editdlrm
git-describe40662320755editdlrm
git-diagnose40662320755editdlrm
git-diff40662320755editdlrm
git-diff-files40662320755editdlrm
git-diff-index40662320755editdlrm
git-diff-tree40662320755editdlrm
git-difftool40662320755editdlrm
git-difftool--helper26090755editdlrm
git-fast-export40662320755editdlrm
git-fast-import40662320755editdlrm
git-fetch40662320755editdlrm
git-fetch-pack40662320755editdlrm
git-filter-branch158570755editdlrm
git-fmt-merge-msg40662320755editdlrm
git-for-each-ref40662320755editdlrm
git-for-each-repo40662320755editdlrm
git-format-patch40662320755editdlrm
git-fsck40662320755editdlrm
git-fsck-objects40662320755editdlrm
git-fsmonitor--daemon40662320755editdlrm
git-gc40662320755editdlrm
git-get-tar-commit-id40662320755editdlrm
git-grep40662320755editdlrm
git-hash-object40662320755editdlrm
git-help40662320755editdlrm
git-hook40662320755editdlrm
git-http-backend6609280755editdlrm
git-http-fetch7400000755editdlrm
git-http-push10994880755editdlrm
git-imap-send7192000755editdlrm
git-index-pack40662320755editdlrm
git-init40662320755editdlrm
git-init-db40662320755editdlrm
git-instaweb221610755editdlrm
git-interpret-trailers40662320755editdlrm
git-log40662320755editdlrm
git-ls-files40662320755editdlrm
git-ls-remote40662320755editdlrm
git-ls-tree40662320755editdlrm
git-mailinfo40662320755editdlrm
git-mailsplit40662320755editdlrm
git-maintenance40662320755editdlrm
git-merge40662320755editdlrm
git-merge-base40662320755editdlrm
git-merge-file40662320755editdlrm
git-merge-index40662320755editdlrm
git-merge-octopus24770755editdlrm
git-merge-one-file36950755editdlrm
git-merge-ours40662320755editdlrm
git-merge-recursive40662320755editdlrm
git-merge-resolve12260755editdlrm
git-merge-subtree40662320755editdlrm
git-merge-tree40662320755editdlrm
git-mergetool116930755editdlrm
git-mergetool--lib107280644editdlrm
git-mktag40662320755editdlrm
git-mktree40662320755editdlrm
git-multi-pack-index40662320755editdlrm
git-mv40662320755editdlrm
git-name-rev40662320755editdlrm
git-notes40662320755editdlrm
git-pack-objects40662320755editdlrm
git-pack-redundant40662320755editdlrm
git-pack-refs40662320755editdlrm
git-patch-id40662320755editdlrm
git-prune40662320755editdlrm
git-prune-packed40662320755editdlrm
git-pull40662320755editdlrm
git-push40662320755editdlrm
git-quiltimport36930755editdlrm
git-range-diff40662320755editdlrm
git-read-tree40662320755editdlrm
git-rebase40662320755editdlrm
git-receive-pack40662320755editdlrm
git-reflog40662320755editdlrm
git-remote40662320755editdlrm
git-remote-ext40662320755editdlrm
git-remote-fd40662320755editdlrm
git-remote-ftp7732800755editdlrm
git-remote-ftps7732800755editdlrm
git-remote-http7732800755editdlrm
git-remote-https7732800755editdlrm
git-repack40662320755editdlrm
git-replace40662320755editdlrm
git-request-pull41470755editdlrm
git-rerere40662320755editdlrm
git-reset40662320755editdlrm
git-restore40662320755editdlrm
git-rev-list40662320755editdlrm
git-rev-parse40662320755editdlrm
git-revert40662320755editdlrm
git-rm40662320755editdlrm
git-send-pack40662320755editdlrm
git-sh-i18n16830644editdlrm
git-sh-i18n--envsubst6397200755editdlrm
git-sh-prompt183720644editdlrm
git-sh-setup83980644editdlrm
git-shell6398080755editdlrm
git-shortlog40662320755editdlrm
git-show40662320755editdlrm
git-show-branch40662320755editdlrm
git-show-index40662320755editdlrm
git-show-ref40662320755editdlrm
git-sparse-checkout40662320755editdlrm
git-stage40662320755editdlrm
git-stash40662320755editdlrm
git-status40662320755editdlrm
git-stripspace40662320755editdlrm
git-submodule105080755editdlrm
git-submodule--helper40662320755editdlrm
git-subtree250190755editdlrm
git-switch40662320755editdlrm
git-symbolic-ref40662320755editdlrm
git-tag40662320755editdlrm
git-unpack-file40662320755editdlrm
git-unpack-objects40662320755editdlrm
git-update-index40662320755editdlrm
git-update-ref40662320755editdlrm
git-update-server-info40662320755editdlrm
git-upload-archive40662320755editdlrm
git-upload-pack40662320755editdlrm
git-var40662320755editdlrm
git-verify-commit40662320755editdlrm
git-verify-pack40662320755editdlrm
git-verify-tag40662320755editdlrm
git-version40662320755editdlrm
git-web--browse44010755editdlrm
git-whatchanged40662320755editdlrm
git-worktree40662320755editdlrm
git-write-tree40662320755editdlrm
scalar6849920755editdlrm
Edit: /snap/gh/640/usr/lib/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