diff mbox series

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

Message ID pull.930.v2.git.git.1607541127701.gitgitgadget@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v2] doc: 'T' status code for git status | expand

Commit Message

Julien Richard Dec. 9, 2020, 7:12 p.m. UTC
From: Julien Richard <julien.richard@ubisoft.com>

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

Signed-off-by: Julien Richard <jairbubbles@hotmail.com>
---
    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(+)


base-commit: 3a0b884caba2752da0af626fb2de7d597c844e8b
diff mbox series

Patch

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 `!!`.