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

[PATCH] doc: short status for delete + intent-to-add

From
Anthony Sottile <asottile@umich.edu>
Date
Dec 16, 2018, 17:55 UTC
Message-ID
<20181216175536.5535-1-asottile@umich.edu>

$ git rm foo rm 'foo' $ touch foo $ git add --intent-to-add foo $ git status --short DA foo

Signed-off-by: Anthony Sottile <asottile@umich.edu>
---
 Documentation/git-status.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index d9f422d56..4af7424e5 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -202,7 +202,7 @@ in which case `XY` are `!!`.
 	     [AMD]   not updated
     M        [ MD]   updated in index
     A        [ MD]   added to index
-    D                deleted from index
+    D         [ A]   deleted from index
     R        [ MD]   renamed in index
     C        [ MD]   copied in index
     [MARC]           index and work tree matches
-- 
2.17.1
Next: Duy Nguyen
Message 1 of 2 in “doc: short status for delete + intent-to-add”
  1. doc: short status for delete + intent-to-addAnthony Sottile, Dec 16, 2018
  2. Duy NguyenDec 16, 2018

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.