Re: [PATCH 2/2] Fix t3404 assumption that `wc -l` does not use whitespace.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jörg
Date: Monday, April 28, 2008 - 4:40 am

Hi,

Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

But that wasn't the way rebase -i works. You had to jump in before
pick_one does anything which clearly shows you did something different
from the default way.


This approach doesn't work when you change the order of commits.
Take the commit A, B and C in this order and reorder them to A C B:
1. pick A, A^ was not rewritten, nothing changed, A stays the same
2. pick C, C^ was not rewritten, nothing changed, C stays the same
3. pick B, B^ was not rewritten, nothing changed, B stays the same

Depending on your handling of the new tip of the branch you loose C or,
as your code did, nothing changed, because you made the assumption the
new HEAD is the rewritten old HEAD.



But above you said this syntax + mark is “ugly”. Strange.


I doubt this. You refused any changes to your idea and your code from the
beginning. You didn't answer questions and doesn't take part on the
discussion [1] about the new syntax.

Bye, Jörg.

[1] <7vabkoufzq.fsf@gitster.siamese.dyndns.org>
-- 
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
   	       		      	  	        (Helmut Quatlinger)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] Fix t3404 assumption that `wc -l` does not ..., Jörg, (Mon Apr 28, 4:40 am)
Re: [PATCH 2/2] Fix t3404 assumption that `wc -l` does not ..., Johannes Schindelin, (Mon Apr 28, 6:42 am)
Re: [PATCH 2/2] Fix t3404 assumption that `wc -l` does not ..., Johannes Schindelin, (Mon Apr 28, 11:07 am)