threads / patch / 32000

patchcommit: fixup misplacement of --no-post-rewrite description

Subject: [PATCH] commit: fixup misplacement of --no-post-rewrite description

## tl;dr

2 messages between Nov 2, 2012 and Nov 2, 2012. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Andreas Schwab· Nov 2, 2012, 12:26 UTC · lore

In e858af6 (commit: document a couple of options) the description of the --no-post-rewrite option was put inside the paragraph for the --amend option. Move it down after the paragraph.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
 Documentation/git-commit.txt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
Show changes to Documentation/git-commit.txt +3 −3
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9594ac8..28a5aeb 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -193,10 +193,6 @@ OPTIONS
 	current tip -- if it was a merge, it will have the parents of
 	the current tip as parents -- so the current top commit is
 	discarded.
-
---no-post-rewrite::
-	Bypass the post-rewrite hook.
-
 +
 --
 It is a rough equivalent for:
@@ -213,6 +209,9 @@ You should understand the implications of rewriting history if you
 amend a commit that has already been published.  (See the "RECOVERING
 FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
 
+--no-post-rewrite::
+	Bypass the post-rewrite hook.
+
 -i::
 --include::
 	Before making a commit out of staged contents so far,
-- 
1.8.0


-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Jeff King· Nov 2, 2012, 13:22 UTC · re: Andreas Schwab · lore

Re: [PATCH] commit: fixup misplacement of --no-post-rewrite description

On Fri, Nov 02, 2012 at 01:26:47PM +0100, Andreas Schwab wrote:
Show 5 quoted lines
> In e858af6 (commit: document a couple of options) the description of the
> --no-post-rewrite option was put inside the paragraph for the --amend
> option.  Move it down after the paragraph.
> 
> Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Thanks, the modified output looks much more sane.
-Peff

← back to recent threads