summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-02-14 16:05:56 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-14 16:05:56 -0800
commitc0acef9b8ae84e7f67a1c231eb97ecfd897c5651 (patch)
treef202c00a61f29623d5d88f267bfc37b123fd84dc
parentDocumentation/git-add: kill remaining <filepattern> (diff)
parentp4merge: fix printf usage (diff)
downloadtgif-c0acef9b8ae84e7f67a1c231eb97ecfd897c5651.tar.xz
Merge branch 'da/p4merge-mktemp-fix'
* da/p4merge-mktemp-fix: p4merge: fix printf usage
-rw-r--r--mergetools/p4merge2
1 files changed, 1 insertions, 1 deletions
diff --git a/mergetools/p4merge b/mergetools/p4merge
index 52f7c8f705..8a36916567 100644
--- a/mergetools/p4merge
+++ b/mergetools/p4merge
@@ -30,5 +30,5 @@ create_empty_file () {
empty_file="${TMPDIR:-/tmp}/git-difftool-p4merge-empty-file.$$"
>"$empty_file"
- printf "$empty_file"
+ printf "%s" "$empty_file"
}