Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/generate-mergetool-list.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / generate-mergetool-list.sh` 17 lines ยท 309 bytes Raw Blame History 1 #!/bin/sh 2 3 if test "$#" -ne 3 4 then 5 echo >&2 "USAGE: $0 " 6 exit 1 7 fi 8 9 SOURCE_DIR="$1" 10 TOOL_MODE="$2" 11 OUTPUT="$3" 12 MERGE_TOOLS_DIR="$SOURCE_DIR/mergetools" 13 14 ( 15 . "$SOURCE_DIR"/git-mergetool--lib.sh && 16 show_tool_names can_$TOOL_MODE 17 ) | sed -e "s/\([a-z0-9]*\)/\`\1\`;;/" >"$OUTPUT"