git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] git-fast-import(1): remove duplicate "--done" option
@ 2013-01-05 16:06 John Keeping
  2013-01-05 16:26 ` Eric S. Raymond
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Keeping @ 2013-01-05 16:06 UTC (permalink / raw)
  To: git; +Cc: Jonathan Nieder, Eric S. Raymond, Sverre Rabbelier

The "--done" option to git-fast-import is documented twice in its manual
page.  Combine the best bits of each description, keeping the location
of the instance that was added first.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
I'm guessing that the reason the option was documented again (in commit
3266de10) is because the options are not in an obvious order.  There
does seem to be some grouping of the options by type, but without
subheadings I wonder if it would make more sense to just put them all in
alphabetical order?

 Documentation/git-fast-import.txt | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 68bca1a..4ef5721 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -39,10 +39,6 @@ OPTIONS
 	See ``Date Formats'' below for details about which formats
 	are supported, and their syntax.
 
--- done::
-	Terminate with error if there is no 'done' command at the
-	end of the stream.
-
 --force::
 	Force updating modified existing branches, even if doing
 	so would cause commits to be lost (as the new commit does
@@ -108,7 +104,8 @@ OPTIONS
 	output.
 
 --done::
-	Require a `done` command at the end of the stream.
+	Terminate with error if there is no 'done' command at the
+	end of the stream.
 	This option might be useful for detecting errors that
 	cause the frontend to terminate before it has started to
 	write a stream.
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-fast-import(1): remove duplicate "--done" option
  2013-01-05 16:06 [PATCH] git-fast-import(1): remove duplicate "--done" option John Keeping
@ 2013-01-05 16:26 ` Eric S. Raymond
  2013-01-05 23:12 ` Jonathan Nieder
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Eric S. Raymond @ 2013-01-05 16:26 UTC (permalink / raw)
  To: John Keeping; +Cc: git, Jonathan Nieder, Sverre Rabbelier

John Keeping <john@keeping.me.uk>:
> I'm guessing that the reason the option was documented again (in commit
> 3266de10) is because the options are not in an obvious order.  There
> does seem to be some grouping of the options by type, but without
> subheadings I wonder if it would make more sense to just put them all in
> alphabetical order?

+1

This duplication originated with me. I'll apologize with a 
reordering patch.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-fast-import(1): remove duplicate "--done" option
  2013-01-05 16:06 [PATCH] git-fast-import(1): remove duplicate "--done" option John Keeping
  2013-01-05 16:26 ` Eric S. Raymond
@ 2013-01-05 23:12 ` Jonathan Nieder
  2013-01-07 11:57 ` [PATCH v2] git-fast-import(1): remove duplicate '--done' option John Keeping
  2013-01-08 19:39 ` [PATCH v3] " John Keeping
  3 siblings, 0 replies; 5+ messages in thread
From: Jonathan Nieder @ 2013-01-05 23:12 UTC (permalink / raw)
  To: John Keeping; +Cc: git, Eric S. Raymond, Sverre Rabbelier

John Keeping wrote:

> The "--done" option to git-fast-import is documented twice in its manual
> page.  Combine the best bits of each description, keeping the location
> of the instance that was added first.
>
> Signed-off-by: John Keeping <john@keeping.me.uk>

Good catch, thanks.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] git-fast-import(1): remove duplicate '--done' option
  2013-01-05 16:06 [PATCH] git-fast-import(1): remove duplicate "--done" option John Keeping
  2013-01-05 16:26 ` Eric S. Raymond
  2013-01-05 23:12 ` Jonathan Nieder
@ 2013-01-07 11:57 ` John Keeping
  2013-01-08 19:39 ` [PATCH v3] " John Keeping
  3 siblings, 0 replies; 5+ messages in thread
From: John Keeping @ 2013-01-07 11:57 UTC (permalink / raw)
  To: git; +Cc: Jonathan Nieder, Eric S. Raymond, Sverre Rabbelier

On Sat, Jan 05, 2013 at 04:06:52PM +0000, John Keeping wrote:
The '--done' option to git-fast-import is documented twice in its manual
page.  Combine the best bits of each description, keeping the location
of the instance that was added first.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
Changed since v1:
    'done' => `done`

I'll wait a bit longer for comments on [1] before I have another go at
the full re-organisation of this page.

[1] http://article.gmane.org/gmane.comp.version-control.git/212805

 Documentation/git-fast-import.txt | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 68bca1a..4ef5721 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -39,10 +39,6 @@ OPTIONS
 	See ``Date Formats'' below for details about which formats
 	are supported, and their syntax.
 
--- done::
-	Terminate with error if there is no 'done' command at the
-	end of the stream.
-
 --force::
 	Force updating modified existing branches, even if doing
 	so would cause commits to be lost (as the new commit does
@@ -108,7 +104,8 @@ OPTIONS
 	output.
 
 --done::
-	Require a `done` command at the end of the stream.
+	Terminate with error if there is no `done` command at the
+	end of the stream.
 	This option might be useful for detecting errors that
 	cause the frontend to terminate before it has started to
 	write a stream.
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v3] git-fast-import(1): remove duplicate '--done' option
  2013-01-05 16:06 [PATCH] git-fast-import(1): remove duplicate "--done" option John Keeping
                   ` (2 preceding siblings ...)
  2013-01-07 11:57 ` [PATCH v2] git-fast-import(1): remove duplicate '--done' option John Keeping
@ 2013-01-08 19:39 ` John Keeping
  3 siblings, 0 replies; 5+ messages in thread
From: John Keeping @ 2013-01-08 19:39 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Jonathan Nieder, Eric S. Raymond, Sverre Rabbelier, git

The '--done' option to git-fast-import is documented twice in its manual
page.  Combine the best bits of each description, keeping the location
of the instance that was added first.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
The commit description gained some noise in v2; this version should be
the really correct, final version.

Sorry for the noise.

 Documentation/git-fast-import.txt | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 68bca1a..4ef5721 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -39,10 +39,6 @@ OPTIONS
 	See ``Date Formats'' below for details about which formats
 	are supported, and their syntax.
 
--- done::
-	Terminate with error if there is no 'done' command at the
-	end of the stream.
-
 --force::
 	Force updating modified existing branches, even if doing
 	so would cause commits to be lost (as the new commit does
@@ -108,7 +104,8 @@ OPTIONS
 	output.
 
 --done::
-	Require a `done` command at the end of the stream.
+	Terminate with error if there is no `done` command at the
+	end of the stream.
 	This option might be useful for detecting errors that
 	cause the frontend to terminate before it has started to
 	write a stream.
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-08 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-05 16:06 [PATCH] git-fast-import(1): remove duplicate "--done" option John Keeping
2013-01-05 16:26 ` Eric S. Raymond
2013-01-05 23:12 ` Jonathan Nieder
2013-01-07 11:57 ` [PATCH v2] git-fast-import(1): remove duplicate '--done' option John Keeping
2013-01-08 19:39 ` [PATCH v3] " John Keeping

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).