{"thread":{"id":"50047","subject":"[PATCH] doc: short status for delete + intent-to-add","startedAt":"2018-12-16T18:08:10Z","lastAt":"2018-12-16T18:26:57Z","messageCount":2,"participants":["Anthony Sottile","Duy Nguyen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"365462","messageId":"20181216175536.5535-1-asottile@umich.edu","threadId":"50047","inReplyTo":null,"subject":"[PATCH] doc: short status for delete + intent-to-add","fromName":"Anthony Sottile","fromEmail":"asottile@umich.edu","sentAt":"2018-12-16T17:55:36Z","receivedAt":"2018-12-16T18:08:10Z","isPatch":true,"sender":{"key":"asottile@umich.edu","avatar":"https://avatars.githubusercontent.com/u/1810591?v=4"},"body":"$ git rm foo\nrm 'foo'\n$ touch foo\n$ git add --intent-to-add foo\n$ git status --short\nDA foo\n\nSigned-off-by: Anthony Sottile <asottile@umich.edu>\n---\n Documentation/git-status.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/git-status.txt b/Documentation/git-status.txt\nindex d9f422d56..4af7424e5 100644\n--- a/Documentation/git-status.txt\n+++ b/Documentation/git-status.txt\n@@ -202,7 +202,7 @@ in which case `XY` are `!!`.\n \t     [AMD]   not updated\n     M        [ MD]   updated in index\n     A        [ MD]   added to index\n-    D                deleted from index\n+    D         [ A]   deleted from index\n     R        [ MD]   renamed in index\n     C        [ MD]   copied in index\n     [MARC]           index and work tree matches\n-- \n2.17.1\n\n"},{"id":"365463","messageId":"CACsJy8C+zLg0HUB-jx4tMSATLH30Jv0_bHkZ7JQRvfmVAn2DmA@mail.gmail.com","threadId":"50047","inReplyTo":"20181216175536.5535-1-asottile@umich.edu","subject":"Re: [PATCH] doc: short status for delete + intent-to-add","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2018-12-16T18:26:29Z","receivedAt":"2018-12-16T18:26:57Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Sun, Dec 16, 2018 at 7:10 PM Anthony Sottile <asottile@umich.edu> wrote:\n>\n> $ git rm foo\n> rm 'foo'\n> $ touch foo\n> $ git add --intent-to-add foo\n> $ git status --short\n> DA foo\n\nTwisted, but not wrong. It may also be a good idea to describe\nintent-to-add status, which is probably something like\n\n    [ D]        A    intent to add\n\n>\n> Signed-off-by: Anthony Sottile <asottile@umich.edu>\n> ---\n>  Documentation/git-status.txt | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n>\n> diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt\n> index d9f422d56..4af7424e5 100644\n> --- a/Documentation/git-status.txt\n> +++ b/Documentation/git-status.txt\n> @@ -202,7 +202,7 @@ in which case `XY` are `!!`.\n>              [AMD]   not updated\n>      M        [ MD]   updated in index\n>      A        [ MD]   added to index\n> -    D                deleted from index\n> +    D         [ A]   deleted from index\n>      R        [ MD]   renamed in index\n>      C        [ MD]   copied in index\n>      [MARC]           index and work tree matches\n> --\n> 2.17.1\n>\n\n\n-- \nDuy\n"}]}