summaryrefslogtreecommitdiff
path: root/git-difftool--helper.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-02-25 08:04:01 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-25 08:04:01 -0800
commitb79faa99e6c4eac658130c5b6291dc0145164293 (patch)
tree4cc1bee7dd2909ccf5f69500533173faf072ccb0 /git-difftool--helper.sh
parentMerge branch 'jx/utf8-printf-width' into maint (diff)
parentdifftool--helper: fix printf usage (diff)
downloadtgif-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-xgit-difftool--helper.sh2
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]: " \