Skip to content

Commit

Permalink
t4030-diff-textconv: Make octal escape sequence more portable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Sixt authored and Junio C Hamano committed Dec 3, 2008
1 parent 11920d2 commit deb1387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t4030-diff-textconv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
'
Expand Down

0 comments on commit deb1387

Please sign in to comment.