]> git.ipfire.org Git - thirdparty/git.git/commit
doc: clarify the filename encoding in git diff
authorAndrey Bienkowski <hexagonrecursion@gmail.com>
Tue, 20 Apr 2021 11:24:37 +0000 (11:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Apr 2021 19:57:26 +0000 (12:57 -0700)
commit9364bf465d23ff26f5e2eb4ee52434e7a69894f1
tree8e0237f615c969c37c08483485915d7d0e6305cf
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7
doc: clarify the filename encoding in git diff

AFAICT parsing the output of `git diff --name-only master...feature`
is the intended way of programmatically getting the list of files
modified
by a feature branch. It is impossible to parse text unless you know what
encoding it is in. The output encoding of diff --name-only and

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt