Skip to content

Commit 55e7f52

Browse files
krobelusgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1566cdd commit 55e7f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/diff-format.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Possible status letters are:
5959
- D: deletion of a file
6060
- M: modification of the contents or mode of a file
6161
- R: renaming of a file
62-
- T: change in the type of the file
62+
- T: change in the type of the file (regular file, symbolic link or submodule)
6363
- U: file is unmerged (you must complete the merge before it can
6464
be committed)
6565
- X: "unknown" change type (most probably a bug, please report it)

0 commit comments

Comments
 (0)