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

Previous thread: [PATCH JGIT] In the commit dialog, deal with Signed-off-by not on the last line by Yann Simon on Thursday, February 12, 2009 - 1:21 am. (2 messages)

Next thread: Re: How to use path limiting (using a glob)? by Sitaram Chamarty on Thursday, February 12, 2009 - 4:09 am. (1 message)
From: Mark Burton
Date: Thursday, February 12, 2009 - 3:21 am

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.
 
 -i::
 --interactive::
-- 
1.6.1.3
--

From: Johannes Schindelin
Date: Thursday, February 12, 2009 - 3:58 am

Hi,


Because it was not mentioned in the commit message, I only realized after 
writing a patch that rebase -i --whitespace already errors out.

Would be nice to have important information like that (I mean that it is 
already handled, not that I was stupid enough to write the patch) in the 
commit message, don't you agree?

Ciao,
Dscho
--

From: Mark Burton
Date: Thursday, February 12, 2009 - 4:32 am

On Thu, 12 Feb 2009 11:58:25 +0100 (CET)

Actually, no.

I am very glad that the git guardians are diligent and careful because
it gives me confidence that my favourite software is going to work
reliably and efficiently, etc.

However, if that diligence and attention to detail, etc. extends to the
point where a humble git user (not a developer) cannot submit a patch that
he thinks will, in some small way, improve the software, without being
quizzed, grilled or, in extreme cases, mocked or abused (it happens)
because the patch is not 100% perfect in every way, then, I am happy to
let the development process continue without my feeble contributions.

So, I left something out of the commit message, did I? Oh my gawd, I
better top myself!

Johannes, you're the worst of the pedants. Ease up man, you'll bust a
blood vessel!

Cheerio list (keep up the good work),

Mark
--

From: Boyd Stephen Smith Jr.
Date: Thursday, February 12, 2009 - 7:44 am

Junio does final fix-up on a lot of patches, but it's better if he doesn't=
=20
have to spend much time doing that and can spend more time merging and writ=
ing=20
patches.

High-quality commits are what makes git high-quality software.  You seem to=
=20
want the later, but don't want to provide the former.  You might not have t=
o. =20
Someone may pick up you patch and apply the fixes you won't spend time on. =
=20
However, if no one does, blame yourself.  You know enough about the process=
 to=20
submit the patch once.  You should know enough to submit the patch as many=
=20

Dscho wasn't saying that.  However, if you left something out of the commit=
=20

After I read this list for about a month, I has convinced that Dscho's main=
=20
purpose in life was to prevent patches from being accepted.  After reading =
the=20
list for 3 months, I recognized that Dscho's performing an important servic=
e=20
for the list that definitely drives up the quality of the code seen in git.=
 =20
Unfortunately, doing that job makes people grumpy, so occasionally you may =
see=20
Dscho come off as brusque.

At http://www.kroah.com/log/linux/ols_2006_keynote.html, Greg Kroah-Hartman=
=20
wrote about reviewing patches for the Linux kernel:

"The Linux kernel mailing list also has another kind of perceived problem.=
=20
Lots of people can find the reaction of developers on this list as very=20
"harsh" at times. They post their code, and get back scathing reviews of=20
everything they did wrong. Usually the reviewers only criticize the code=20
itself, but for most people, this can be a very hard thing to be on the=20
receiving end of. They just put out what they felt was a perfect thing, onl=
y=20
to see it cut into a zillion tiny pieces.

"The big problem of this, is we really only have a very small group of peop=
le=20
reviewing code in the kernel community. Reviewing code is a hard, unrewardi=
ng,=20
tough thing to do. It really makes you grumpy and rude in a very short ...
From: Junio C Hamano
Date: Thursday, February 12, 2009 - 4:34 pm

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.

--

From: Johannes Schindelin
Date: Thursday, February 12, 2009 - 4:51 pm

Hi,


The program outputs the usage and dies when -i and --whitespace (or for 
that matter, -C) are passed.

Ciao,
Dscho

--

From: Junio C Hamano
Date: Thursday, February 12, 2009 - 5:50 pm

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 thread: [PATCH JGIT] In the commit dialog, deal with Signed-off-by not on the last line by Yann Simon on Thursday, February 12, 2009 - 1:21 am. (2 messages)

Next thread: Re: How to use path limiting (using a glob)? by Sitaram Chamarty on Thursday, February 12, 2009 - 4:09 am. (1 message)