From: Duy Nguyen <pclouds@gmail.com>
To: Anthony Sottile <asottile@umich.edu>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] doc: short status for delete + intent-to-add
Date: Sun, 16 Dec 2018 19:26:29 +0100 [thread overview]
Message-ID: <CACsJy8C+zLg0HUB-jx4tMSATLH30Jv0_bHkZ7JQRvfmVAn2DmA@mail.gmail.com> (raw)
In-Reply-To: <20181216175536.5535-1-asottile@umich.edu>
On Sun, Dec 16, 2018 at 7:10 PM Anthony Sottile <asottile@umich.edu> wrote:
>
> $ git rm foo
> rm 'foo'
> $ touch foo
> $ git add --intent-to-add foo
> $ git status --short
> DA foo
Twisted, but not wrong. It may also be a good idea to describe
intent-to-add status, which is probably something like
[ D] A intent to add
>
> 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
>
--
Duy
prev parent reply other threads:[~2018-12-16 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-16 17:55 [PATCH] doc: short status for delete + intent-to-add Anthony Sottile
2018-12-16 18:26 ` Duy Nguyen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACsJy8C+zLg0HUB-jx4tMSATLH30Jv0_bHkZ7JQRvfmVAn2DmA@mail.gmail.com \
--to=pclouds@gmail.com \
--cc=asottile@umich.edu \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).