Merge branch 'al/mergetool-printf-fix'

* al/mergetool-printf-fix:
  difftool--helper: fix printf usage
  git-mergetool: print filename when it contains %
This commit is contained in:
Junio C Hamano 2013-02-14 10:29:37 -08:00
commit ba56d7057a
2 changed files with 2 additions and 2 deletions

View file

@ -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]: " \

View file

@ -403,7 +403,7 @@ then
fi
printf "Merging:\n"
printf "$files\n"
printf "%s\n" "$files"
IFS='
'