git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Julien Richard via GitGitGadget <gitgitgadget@gmail.com>
Date
Dec 9, 2020, 19:12 UTC
Message-ID
<pull.930.v2.git.git.1607541127701.gitgitgadget@gmail.com>
In-Reply-To
<pull.930.git.git.1607501616914.gitgitgadget@gmail.com>
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(+)
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
Previous: Junio C Hamano
Message 9 of 9 in “doc: 'T' status code for git status”
  1. doc: 'T' status code for git statusJulien Richard via GitGitGadget, Dec 9, 2020
  2. Jeff KingDec 9, 2020
  3. Julien RichardDec 9, 2020
  4. Jeff KingDec 9, 2020
  5. Junio C HamanoDec 9, 2020
  6. Julien RichardDec 9, 2020
  7. Jeff KingDec 9, 2020
  8. Junio C HamanoDec 10, 2020
  9. doc: 'T' status code for git statusJulien Richard via GitGitGadget, Dec 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.