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

Re: [PATCH] git-rebase.txt: Mention that --whitespace cannot be used with interactive rebase.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 13, 2009, 00:50 UTC
Message-ID
<7vy6wbgny2.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7veiy3i61g.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 21 quoted lines
> Mark Burton <markb@ordern.com> writes:
>
>> Signed-off-by: Mark Burton <markb@ordern.com>
>> ---
>>  Documentation/git-rebase.txt |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
>> index 3d6d429..60582a4 100644
>> --- a/Documentation/git-rebase.txt
>> +++ b/Documentation/git-rebase.txt
>> @@ -246,6 +246,7 @@ OPTIONS
>>  --whitespace=<nowarn|warn|error|error-all|strip>::
>>  	This flag is passed to the 'git-apply' program
>>  	(see linkgit:git-apply[1]) that applies the patch.
>> +	Not supported when using the --interactive option.
>
> So is it "not supported when using", or "incompatible with"?
>
> If the option is silently ignored, it is former, and we have a bug.  If
> the program refuses to work then it is the latter.

It appears it is the latter, so I've queued with a rewrite. Hope it is Ok with you.

Thanks.
-- >8 --
From: Mark Burton <markb@ordern.com>
Date: Thu, 12 Feb 2009 10:21:19 +0000
Subject: [PATCH] git-rebase.txt: --interactive does not work with --whitespace
Signed-off-by: Mark Burton <markb@ordern.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-rebase.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 3d6d429..30487de 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -246,6 +246,7 @@ OPTIONS
 --whitespace=<nowarn|warn|error|error-all|strip>::
 	This flag is passed to the 'git-apply' program
 	(see linkgit:git-apply[1]) that applies the patch.
+	Incompatible with the --interactive option.
 
 -i::
 --interactive::
Previous: Johannes Schindelin
Message 7 of 7 in “git-rebase.txt: Mention that --whitespace cannot be used with interactive rebase.”
  1. git-rebase.txt: Mention that --whitespace cannot be used with interactive rebase.Mark Burton, Feb 12, 2009
  2. Johannes SchindelinFeb 12, 2009
  3. Mark BurtonFeb 12, 2009
  4. Boyd Stephen Smith Jr.Feb 12, 2009
  5. Junio C HamanoFeb 12, 2009
  6. Johannes SchindelinFeb 12, 2009
  7. Junio C HamanoFeb 13, 2009

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.