aboutsummaryrefslogtreecommitdiff
path: root/t/t4030-diff-textconv.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2008-12-02 09:31:01 +0100
committerJunio C Hamano <gitster@pobox.com>2008-12-02 16:13:16 -0800
commitdeb13872becbc5fb49e3ab22dd9feaf4e429a853 (patch)
tree418e7cfb16c217c06a4aba78acd323fe873f8fdd /t/t4030-diff-textconv.sh
parent11920d28da1ac1b65eb4041c1b7355924e5d1366 (diff)
downloadgit-deb13872becbc5fb49e3ab22dd9feaf4e429a853.tar.gz
git-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>
Diffstat (limited to 't/t4030-diff-textconv.sh')
-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 0b76e7c97..2f27a0ba9 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
'