From: Junio C Hamano <gitster@pobox.com>
To: Pieter de Bie <pdebie@ai.rug.nl>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/2] Documentation: Add a usage case of git-reset with path
Date: Sat, 16 Feb 2008 10:40:20 -0800 [thread overview]
Message-ID: <7vabm0agob.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <1203180526-12020-2-git-send-email-pdebie@ai.rug.nl> (Pieter de Bie's message of "Sat, 16 Feb 2008 17:48:46 +0100")
Pieter de Bie <pdebie@ai.rug.nl> writes:
> @@ -176,6 +176,23 @@ $ git reset <3>
> committed as 'snapshot WIP'. This updates the index to show your
> WIP files as uncommitted.
>
> +Reset a single file in the index::
Yeah, an example and description for this relatively new feature
has been lacking. Very mucuh appreciated.
By the way, I noticed a leftover from our ancient past.
-- >8 --
[PATCH] Documentation/git-reset:
Since 3368d11 (Remove unnecessary git-rm --cached reference from
status output), the status output marks the "Added but not yet
committed" section as "Changes to be committed".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
Documentation/git-reset.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index a4e0a77..b6bcf4d 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -37,7 +37,7 @@ OPTIONS
--soft::
Does not touch the index file nor the working tree at all, but
requires them to be in a good order. This leaves all your changed
- files "Added but not yet committed", as linkgit:git-status[1] would
+ files "Changes to be committed", as linkgit:git-status[1] would
put it.
--hard::
--
1.5.4.1.1350.g2b9ee
next prev parent reply other threads:[~2008-02-16 18:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 16:48 [PATCH 1/2] Documentation: Remove deprecated --mixed option in git-reset synopsis Pieter de Bie
2008-02-16 16:48 ` [PATCH 2/2] Documentation: Add a usage case of git-reset with path Pieter de Bie
2008-02-16 18:40 ` Junio C Hamano [this message]
2008-02-16 19:15 ` [PATCH 1/2] Documentation: Remove deprecated --mixed option in git-reset synopsis Junio C Hamano
2008-02-16 19:17 ` Pieter de Bie
2008-02-16 20:10 ` Junio C Hamano
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=7vabm0agob.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=pdebie@ai.rug.nl \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.