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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Julien Richard <julien.richard@xxxxxxxxxxx>

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

Signed-off-by: Julien Richard <jairbubbles@xxxxxxxxxxx>
---
    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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux