Skip to content

Commit 56c4d7f

Browse files
krobelusgitster
authored andcommitted
Documentation/git-status: document porcelain status T (typechange)
As reported in [1], T is missing from the description of porcelain status letters in git-status(1) (whereas T *is* documented in git-diff-files(1) and friends). Document T right after M (modified) because the two are very similar. [1] fish-shell/fish-shell#8311 Signed-off-by: Johannes Altmanninger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 55e7f52 commit 56c4d7f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Documentation/git-status.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ show tracked paths:
207207

208208
* ' ' = unmodified
209209
* 'M' = modified
210+
* 'T' = file type changed (regular file, symbolic link or submodule)
210211
* 'A' = added
211212
* 'D' = deleted
212213
* 'R' = renamed
@@ -217,14 +218,16 @@ show tracked paths:
217218
X Y Meaning
218219
-------------------------------------------------
219220
[AMD] not updated
220-
M [ MD] updated in index
221-
A [ MD] added to index
221+
M [ MTD] updated in index
222+
T [ MTD] type changed in index
223+
A [ MTD] added to index
222224
D deleted from index
223-
R [ MD] renamed in index
224-
C [ MD] copied in index
225-
[MARC] index and work tree matches
226-
[ MARC] M work tree changed since index
227-
[ MARC] D deleted in work tree
225+
R [ MTD] renamed in index
226+
C [ MTD] copied in index
227+
[MTARC] index and work tree matches
228+
[ MTARC] M work tree changed since index
229+
[ MTARC] T type changed in work tree since index
230+
[ MTARC] D deleted in work tree
228231
R renamed in work tree
229232
C copied in work tree
230233
-------------------------------------------------

0 commit comments

Comments
 (0)