diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-25 08:04:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-25 08:04:01 -0800 |
commit | b79faa99e6c4eac658130c5b6291dc0145164293 (patch) | |
tree | 4cc1bee7dd2909ccf5f69500533173faf072ccb0 /git-difftool--helper.sh | |
parent | Merge branch 'jx/utf8-printf-width' into maint (diff) | |
parent | difftool--helper: fix printf usage (diff) | |
download | tgif-b79faa99e6c4eac658130c5b6291dc0145164293.tar.xz |
Merge branch 'al/mergetool-printf-fix' into maint
* al/mergetool-printf-fix:
difftool--helper: fix printf usage
git-mergetool: print filename when it contains %
Diffstat (limited to 'git-difftool--helper.sh')
-rwxr-xr-x | git-difftool--helper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-difftool--helper.sh b/git-difftool--helper.sh index 3d0fe0cd93..b00ed95dba 100755 --- a/git-difftool--helper.sh +++ b/git-difftool--helper.sh @@ -40,7 +40,7 @@ launch_merge_tool () { # the user with the real $MERGED name before launching $merge_tool. if should_prompt then - printf "\nViewing: '$MERGED'\n" + printf "\nViewing: '%s'\n" "$MERGED" if use_ext_cmd then printf "Launch '%s' [Y/n]: " \ |