git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] Documentation/git-rebase: fix --no-autostash formatting

From
John Keeping <john@keeping.me.uk>
Date
Sep 10, 2015, 22:30 UTC
Message-ID
<5c846ceeefd55e3a46ed1f3937fc74bd7720a892.1441924193.git.john@keeping.me.uk>
In-Reply-To
<cover.1441924193.git.john@keeping.me.uk>

All of the other "--option" and "--no-option" pairs in this file are formatted as separate options.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/git-rebase.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index ca03954..72e69fc 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -432,7 +432,8 @@ If the '--autosquash' option is enabled by default using the
 configuration variable `rebase.autoSquash`, this option can be
 used to override and disable this setting.
 
---[no-]autostash::
+--autostash::
+--no-autostash::
 	Automatically create a temporary stash before the operation
 	begins, and apply it after the operation ends.  This means
 	that you can run rebase on a dirty worktree.  However, use
-- 
2.6.0.rc0.162.gb2d3693
Previous: John KeepingNext: Matthieu Moy
Message 4 of 5 in “Bug: "git rebase --no-autostash" not recognized”
  1. Daniel HahlerSep 10, 2015
  2. 0/2 rebase: support --no-autostashJohn Keeping, Sep 10, 2015
  3. 1/2 rebase: support --no-autostashJohn Keeping, Sep 10, 2015
  4. 2/2 Documentation/git-rebase: fix --no-autostash formattingJohn Keeping, Sep 10, 2015
  5. Matthieu MoySep 11, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.