]> git.ipfire.org Git - thirdparty/git.git/commit
diff-index.txt: update raw output format in examples
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Mon, 13 Jun 2022 12:29:43 +0000 (12:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2022 18:59:16 +0000 (11:59 -0700)
commit1971510c357507efe8baaac538a68b4aba78217e
tree92dd25dc8dd0681210cc7504e7ee51efc275d21d
parent3b396c899f946604328d863154c4c988e1d777c1
diff-index.txt: update raw output format in examples

The two examples in the doc for 'git diff-index' were not updated when
the raw output format was changed in 81e50eabf0 ([PATCH] The diff-raw
format updates., 2005-05-21) (first example) and in b6d8f309d9 ([PATCH]
diff-raw format update take #2., 2005-05-23) and 7cb6ac1e4b (diff:
diff_aligned_abbrev: remove ellipsis after abbreviated SHA-1 value,
2017-12-03) (second example).

Update the output, inventing some characters to complete the source
hash in the second example. Also correct the destination mode in the
second example, which was wrongly '100664' since the addition of the
example in c64b9b8860 (Reference documentation for the core git
commands., 2005-05-05).

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff-index.txt