* [PATCH] Fix mistakes in the documentation of git-add --interactive.
@ 2007-11-07 18:20 Benoit Sigoure
2007-11-07 20:50 ` Michele Ballabio
0 siblings, 1 reply; 7+ messages in thread
From: Benoit Sigoure @ 2007-11-07 18:20 UTC (permalink / raw)
To: git; +Cc: gitster, Benoit Sigoure
This patch fixes a couple of language issues in the documentation
of the `patch' sub-command of git-add --interactive.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
Documentation/git-add.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 963e1ab..f7c02ff 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -202,8 +202,8 @@ patch::
y - add the change from that hunk to index
n - do not add the change from that hunk to index
- a - add the change from that hunk and all the rest to index
- d - do not the change from that hunk nor any of the rest to index
+ a - add the change from that hunk and all the remaining ones
+ d - do not the add change from that hunk and skip the remaining ones
j - do not decide on this hunk now, and view the next
undecided hunk
J - do not decide on this hunk now, and view the next hunk
@@ -211,8 +211,8 @@ patch::
undecided hunk
K - do not decide on this hunk now, and view the previous hunk
+
-After deciding the fate for all hunks, if there is any hunk
-that was chosen, the index is updated with the selected hunks.
+After deciding the fate of each hunk, the index is updated with the selected
+ones.
diff::
--
1.5.3.4.398.g859b
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 18:20 [PATCH] Fix mistakes in the documentation of git-add --interactive Benoit Sigoure
@ 2007-11-07 20:50 ` Michele Ballabio
2007-11-07 21:59 ` Benoit Sigoure
2007-11-07 22:02 ` Benoit Sigoure
0 siblings, 2 replies; 7+ messages in thread
From: Michele Ballabio @ 2007-11-07 20:50 UTC (permalink / raw)
To: git; +Cc: Benoit Sigoure, gitster
On Wednesday 07 November 2007, Benoit Sigoure wrote:
> + d - do not the add change from that hunk and skip the remaining ones
add the
^^^^^^^
Swap these :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 20:50 ` Michele Ballabio
@ 2007-11-07 21:59 ` Benoit Sigoure
2007-11-07 22:02 ` Benoit Sigoure
1 sibling, 0 replies; 7+ messages in thread
From: Benoit Sigoure @ 2007-11-07 21:59 UTC (permalink / raw)
To: Michele Ballabio; +Cc: git list
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
On Nov 7, 2007, at 9:50 PM, Michele Ballabio wrote:
> On Wednesday 07 November 2007, Benoit Sigoure wrote:
>> + d - do not the add change from that hunk and skip the
>> remaining ones
> add the
> ^^^^^^^
> Swap these :)
Ouch, indeed ;o
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 20:50 ` Michele Ballabio
2007-11-07 21:59 ` Benoit Sigoure
@ 2007-11-07 22:02 ` Benoit Sigoure
2007-11-07 22:25 ` Johannes Schindelin
1 sibling, 1 reply; 7+ messages in thread
From: Benoit Sigoure @ 2007-11-07 22:02 UTC (permalink / raw)
To: git; +Cc: gitster, Benoit Sigoure
This patch fixes a couple of language issues in the documentation
of the `patch' sub-command of git-add --interactive.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
Documentation/git-add.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 963e1ab..f7c02ff 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -202,8 +202,8 @@ patch::
y - add the change from that hunk to index
n - do not add the change from that hunk to index
- a - add the change from that hunk and all the rest to index
- d - do not the change from that hunk nor any of the rest to index
+ a - add the change from that hunk and all the remaining ones
+ d - do not the add change from that hunk and skip the remaining ones
j - do not decide on this hunk now, and view the next
undecided hunk
J - do not decide on this hunk now, and view the next hunk
@@ -211,8 +211,8 @@ patch::
undecided hunk
K - do not decide on this hunk now, and view the previous hunk
+
-After deciding the fate for all hunks, if there is any hunk
-that was chosen, the index is updated with the selected hunks.
+After deciding the fate of each hunk, the index is updated with the selected
+ones.
diff::
--
1.5.3.4.398.g859b
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 22:02 ` Benoit Sigoure
@ 2007-11-07 22:25 ` Johannes Schindelin
2007-11-07 22:28 ` Benoit Sigoure
2007-11-07 22:31 ` [PATCH v3] " Benoit Sigoure
0 siblings, 2 replies; 7+ messages in thread
From: Johannes Schindelin @ 2007-11-07 22:25 UTC (permalink / raw)
To: Benoit Sigoure; +Cc: git, gitster
Hi,
On Wed, 7 Nov 2007, Benoit Sigoure wrote:
> - a - add the change from that hunk and all the rest to index
> - d - do not the change from that hunk nor any of the rest to index
> + a - add the change from that hunk and all the remaining ones
> + d - do not the add change from that hunk and skip the remaining ones
This still sounds funny. How about
d - skip this hunk, as well as the remaining ones
Hmm?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 22:25 ` Johannes Schindelin
@ 2007-11-07 22:28 ` Benoit Sigoure
2007-11-07 22:31 ` [PATCH v3] " Benoit Sigoure
1 sibling, 0 replies; 7+ messages in thread
From: Benoit Sigoure @ 2007-11-07 22:28 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git, gitster
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
On Nov 7, 2007, at 11:25 PM, Johannes Schindelin wrote:
> Hi,
>
> On Wed, 7 Nov 2007, Benoit Sigoure wrote:
>
>> - a - add the change from that hunk and all the rest to index
>> - d - do not the change from that hunk nor any of the rest
>> to index
>> + a - add the change from that hunk and all the remaining ones
>> + d - do not the add change from that hunk and skip the
>> remaining ones
>
> This still sounds funny. How about
>
> d - skip this hunk, as well as the remaining ones
Yup, that's better, indeed. I'll post a v3 (:
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3] Fix mistakes in the documentation of git-add --interactive.
2007-11-07 22:25 ` Johannes Schindelin
2007-11-07 22:28 ` Benoit Sigoure
@ 2007-11-07 22:31 ` Benoit Sigoure
1 sibling, 0 replies; 7+ messages in thread
From: Benoit Sigoure @ 2007-11-07 22:31 UTC (permalink / raw)
To: git; +Cc: gitster, Benoit Sigoure
This patch fixes a couple of language issues in the documentation
of the `patch' sub-command of git-add --interactive.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
Use better wording proposed by Dscho.
Documentation/git-add.txt | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 963e1ab..3117798 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -201,9 +201,9 @@ patch::
the change of each hunk. You can say:
y - add the change from that hunk to index
- n - do not add the change from that hunk to index
- a - add the change from that hunk and all the rest to index
- d - do not the change from that hunk nor any of the rest to index
+ n - skip this hunk
+ a - add the change from that hunk and all the remaining ones
+ d - skip this hunk, as well as the remaining ones
j - do not decide on this hunk now, and view the next
undecided hunk
J - do not decide on this hunk now, and view the next hunk
@@ -211,8 +211,8 @@ patch::
undecided hunk
K - do not decide on this hunk now, and view the previous hunk
+
-After deciding the fate for all hunks, if there is any hunk
-that was chosen, the index is updated with the selected hunks.
+After deciding the fate of each hunk, the index is updated with the selected
+ones.
diff::
--
1.5.3.4.398.g859b
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-11-07 22:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 18:20 [PATCH] Fix mistakes in the documentation of git-add --interactive Benoit Sigoure
2007-11-07 20:50 ` Michele Ballabio
2007-11-07 21:59 ` Benoit Sigoure
2007-11-07 22:02 ` Benoit Sigoure
2007-11-07 22:25 ` Johannes Schindelin
2007-11-07 22:28 ` Benoit Sigoure
2007-11-07 22:31 ` [PATCH v3] " Benoit Sigoure
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).