]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation/diff-format: state in which cases porcelain status is T
authorJohannes Altmanninger <aclopte@gmail.com>
Mon, 4 Oct 2021 19:00:48 +0000 (21:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Oct 2021 20:07:18 +0000 (13:07 -0700)
commit55e7f52b407dffc8aead377bff2ca3356dfde3e6
tree1ce756c20f5513b59ef4b43cc74126c00e1f0afa
parent1566cdd4aea973592ef1871197bc3d6b74b42d7e
Documentation/diff-format: state in which cases porcelain status is T

Porcelain status letter T is documented as "type of the file", which
is technically correct but not enough information for users that are
not so familiar with this term from systems programming. In particular,
given that the only supported file types are "regular file", "symbolic
link" and "submodule", the term "file type" is surely opaque to the
many(?) users who are not aware that symbolic links can be tracked -
I thought that a "chmod +x" could cause the T status (wrong, it's M).

Explicitly document the three file types so users know if/how they
want to handle this.

Signed-off-by: Johannes Altmanninger <aclopte@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-format.txt