Subject: [PATCH v2] doc: 'T' status code for git status

From: "Julien Richard via GitGitGadget" <[email-masked]>
Date: Wed, 09 Dec 2020 19:12:07 +0000

From: Julien Richard <[email-masked]>

Git status can return 'T' status code which stands for "typechange", fixing the documentation accordingly.

Signed-off-by: Julien Richard <[email-masked]>
---
    Document 'T' status code for git status
    
    Git status can return 'T' status code which stands for "typechange". I
    can't document more the behavior but it would have helped me a lot to
    see that line in the documentation so I guess it can help others too.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-930%2Fjairbubbles%2FgitStatusTypeChangeCode-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-930/jairbubbles/gitStatusTypeChangeCode-v2
Pull-Request: https://github.com/git/git/pull/930

Range-diff vs v1:

 1:  ee106c427a0 ! 1:  8511a2d4f10 doc: 'T' status code for git status
     @@ Documentation/git-status.txt: codes can be interpreted as follows:
       * 'R' = renamed
       * 'C' = copied
       * 'U' = updated but unmerged
     -+* 'T' = type changed
     ++* 'T' = type changed (e.g. a symbolic link becoming a file)
       
       Ignored files are not listed, unless `--ignored` option is in effect,
       in which case `XY` are `!!`.

 Documentation/git-status.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index 7731b45f078..21c406a812c 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -197,6 +197,7 @@ codes can be interpreted as follows:
 * 'R' = renamed
 * 'C' = copied
 * 'U' = updated but unmerged
+* 'T' = type changed (e.g. a symbolic link becoming a file)
 
 Ignored files are not listed, unless `--ignored` option is in effect,
 in which case `XY` are `!!`.

base-commit: 3a0b884caba2752da0af626fb2de7d597c844e8b
-- 
gitgitgadget