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:
commit
ba56d7057a
@ -40,7 +40,7 @@ launch_merge_tool () {
|
|||||||
# the user with the real $MERGED name before launching $merge_tool.
|
# the user with the real $MERGED name before launching $merge_tool.
|
||||||
if should_prompt
|
if should_prompt
|
||||||
then
|
then
|
||||||
printf "\nViewing: '$MERGED'\n"
|
printf "\nViewing: '%s'\n" "$MERGED"
|
||||||
if use_ext_cmd
|
if use_ext_cmd
|
||||||
then
|
then
|
||||||
printf "Launch '%s' [Y/n]: " \
|
printf "Launch '%s' [Y/n]: " \
|
||||||
|
@ -403,7 +403,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
printf "Merging:\n"
|
printf "Merging:\n"
|
||||||
printf "$files\n"
|
printf "%s\n" "$files"
|
||||||
|
|
||||||
IFS='
|
IFS='
|
||||||
'
|
'
|
||||||
|
Loading…
Reference in New Issue
Block a user