From: Junio C Hamano <gitster@pobox.com>
To: nadim khemir <nadim@khemir.net>
Cc: git list <git@vger.kernel.org>
Subject: Re: [PATCH] Added EXIT STATUS section in git-status documentation
Date: Sun, 14 Dec 2008 15:29:30 -0800 [thread overview]
Message-ID: <7vljui1gkl.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <200812150012.14071.nadim@khemir.net> (nadim khemir's message of "Mon, 15 Dec 2008 00:12:13 +0100")
nadim khemir <nadim@khemir.net> writes:
> +EXIT STATUS
> +-----------
> +The command exits with status 0 if there is a different between the index
> +and HEAD. IE, running `git commit`, with the same arguments as your
> +'git status' command, would create a new commit.
> +
Wording: s/different/difference/
But more importantly, even if there is no difference between the index and
HEAD, "git status -a" would say "Ok, you will commit something" if you
have modifications to (or removals of) tracked paths. The description in
the original you removed was Ok only because it does not talk anything
about giving parameters to "git status", but now you are mentioning that
case as well, you would need to adjust the description.
prev parent reply other threads:[~2008-12-14 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-14 23:12 [PATCH] Added EXIT STATUS section in git-status documentation nadim khemir
2008-12-14 23:29 ` Junio C Hamano [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vljui1gkl.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=nadim@khemir.net \
/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.
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 NNTP newsgroup(s).