]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation/git-status: document porcelain status T (typechange)
authorJohannes Altmanninger <aclopte@gmail.com>
Mon, 4 Oct 2021 19:00:49 +0000 (21:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Oct 2021 20:07:18 +0000 (13:07 -0700)
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] https://github.com/fish-shell/fish-shell/issues/8311

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

index 20f496094a5c778e84abe7ba2ad2235e5cbe37c3..255dc6af9bebfcf94a19cf2eb282652b36571fb1 100644 (file)
@@ -207,6 +207,7 @@ show tracked paths:
 
 * ' ' = unmodified
 * 'M' = modified
+* 'T' = file type changed (regular file, symbolic link or submodule)
 * 'A' = added
 * 'D' = deleted
 * 'R' = renamed
@@ -217,14 +218,16 @@ show tracked paths:
 X          Y     Meaning
 -------------------------------------------------
         [AMD]   not updated
-M        [ MD]   updated in index
-A        [ MD]   added to index
+M        [ MTD]  updated in index
+T        [ MTD]  type changed in index
+A        [ MTD]  added to index
 D                deleted from index
-R        [ MD]   renamed in index
-C        [ MD]   copied in index
-[MARC]           index and work tree matches
-[ MARC]     M    work tree changed since index
-[ MARC]     D    deleted in work tree
+R        [ MTD]  renamed in index
+C        [ MTD]  copied in index
+[MTARC]          index and work tree matches
+[ MTARC]    M    work tree changed since index
+[ MTARC]    T    type changed in work tree since index
+[ MTARC]    D    deleted in work tree
            R    renamed in work tree
            C    copied in work tree
 -------------------------------------------------