summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2008-12-02 09:31:01 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-02 16:13:16 -0800
commitdeb13872becbc5fb49e3ab22dd9feaf4e429a853 (patch)
tree418e7cfb16c217c06a4aba78acd323fe873f8fdd
parentAdd a built-in alias for 'stage' to the 'add' command (diff)
downloadtgif-deb13872becbc5fb49e3ab22dd9feaf4e429a853.tar.xz
t4030-diff-textconv: Make octal escape sequence more portable
There are printfs around that do not grok '\1', but need '\01'. Discovered on AIX 4.3.x. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t4030-diff-textconv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4030-diff-textconv.sh b/t/t4030-diff-textconv.sh
index 0b76e7c97a..2f27a0ba9e 100755
--- a/t/t4030-diff-textconv.sh
+++ b/t/t4030-diff-textconv.sh
@@ -29,7 +29,7 @@ test_expect_success 'setup binary file with history' '
printf "\\0\\n" >file &&
git add file &&
git commit -m one &&
- printf "\\1\\n" >>file &&
+ printf "\\01\\n" >>file &&
git add file &&
git commit -m two
'