Re: [RFC/PATCH] Add git-squash tool and tests

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephan Beyer <s-beyer@...>
Cc: Paolo Bonzini <bonzini@...>, <git@...>, Junio C Hamano <gitster@...>
Date: Monday, June 9, 2008 - 8:26 pm

Hi,

On Tue, 10 Jun 2008, Stephan Beyer wrote:


AFAIAC cherry-pick and reset, and even commit, are not "pure" porcelain: 
you can rely on their exit code and to a certain extent on their output.  
Although I would rather use commit-tree from a script than commit.

I'd probably even use git update-ref instead of reset --soft, but then, I 
_would_ use cherry-pick.

So there is a lot of gray.


I would say as long as it is meant to be used by a human, it is porcelain.  
And I do not think that git-sequencer falls into that category.

So it should avoid pure porcelains, such as "git show", and use the 
(robust) low-level tools instead.

But I feel quite silly talking about that at length; I think that you can 
use whatever gets a prototype done, and then go on and make it a builtin.

Ciao,
Dscho

--
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:
[RFC] git-sequencer.txt, Stephan Beyer, (Sat Jun 7, 6:01 pm)
[RFCv2/FYI] git-sequencer.txt, Stephan Beyer, (Wed Jun 11, 8:22 pm)
Re: [RFCv2/FYI] git-sequencer.txt, Jakub Narebski, (Thu Jun 12, 10:10 am)
Re: [RFCv2/FYI] git-sequencer.txt, Stephan Beyer, (Thu Jun 12, 1:20 pm)
Re: [RFCv2/FYI] git-sequencer.txt, Junio C Hamano, (Thu Jun 12, 1:16 am)
Re: [RFCv2/FYI] git-sequencer.txt, Stephan Beyer, (Thu Jun 12, 1:07 pm)
Re: [RFCv2/FYI] git-sequencer.txt, Olivier Marin, (Fri Jun 13, 3:24 pm)
Re: [RFCv2/FYI] git-sequencer.txt, Paolo Bonzini, (Fri Jun 13, 1:04 am)
Re: [RFCv2/FYI] git-sequencer.txt, Stephan Beyer, (Fri Jun 13, 8:16 am)
Re: [RFCv2/FYI] git-sequencer.txt, Paolo Bonzini, (Fri Jun 13, 10:42 am)
Re: [RFCv2/FYI] git-sequencer.txt, Paolo Bonzini, (Wed Jun 11, 9:31 pm)
Re: [RFCv2/FYI] git-sequencer.txt, Stephan Beyer, (Thu Jun 12, 11:29 am)
Re: [RFCv2/FYI] git-sequencer.txt, Paolo Bonzini, (Thu Jun 12, 11:56 am)
Re: [RFC] git-sequencer.txt, Jakub Narebski, (Mon Jun 9, 12:49 pm)
Re: [RFC] git-sequencer.txt, Stephan Beyer, (Mon Jun 9, 9:21 pm)
Re: [RFC] git-sequencer.txt, Jakub Narebski, (Tue Jun 10, 2:17 am)
Re: [RFC] git-sequencer.txt, Christian Couder, (Tue Jun 10, 12:46 am)
Re: [RFC] git-sequencer.txt, Daniel Barkalow, (Wed Jun 11, 1:07 pm)
Re: [RFC] git-sequencer.txt, Stephan Beyer, (Tue Jun 10, 4:59 am)
Re: [RFC] git-sequencer.txt, Christian Couder, (Wed Jun 11, 12:10 am)
squashing patches (was: Re: [RFC] git-sequencer.txt), Stephan Beyer, (Mon Jun 9, 7:45 am)
Re: squashing patches, Junio C Hamano, (Mon Jun 9, 3:34 pm)
Re: squashing patches, Stephan Beyer, (Mon Jun 9, 4:43 pm)
Re: squashing patches, Junio C Hamano, (Mon Jun 9, 5:02 pm)
Re: squashing patches, Stephan Beyer, (Mon Jun 9, 8:38 pm)
Re: squashing patches, Jeff King, (Mon Jun 9, 4:53 pm)
Re: squashing patches, Stephan Beyer, (Mon Jun 9, 7:57 pm)
Re: squashing patches, Jeff King, (Mon Jun 9, 9:00 pm)
Re: squashing patches, Paolo Bonzini, (Mon Jun 9, 11:10 am)
[RFC/PATCH] Add git-squash tool and tests, Stephan Beyer, (Mon Jun 9, 4:29 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Johannes Schindelin, (Mon Jun 9, 4:34 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Stephan Beyer, (Mon Jun 9, 7:46 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Paolo Bonzini, (Mon Jun 9, 4:53 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Johannes Schindelin, (Mon Jun 9, 5:34 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Stephan Beyer, (Mon Jun 9, 7:42 pm)
Re: [RFC/PATCH] Add git-squash tool and tests, Johannes Schindelin, (Mon Jun 9, 8:26 pm)
Re: squashing patches, Stephan Beyer, (Mon Jun 9, 12:29 pm)
Re: squashing patches, Paolo Bonzini, (Mon Jun 9, 12:37 pm)
Re: squashing patches, Paolo Bonzini, (Mon Jun 9, 11:43 am)
Re: squashing patches (was: Re: [RFC] git-sequencer.txt), Johannes Schindelin, (Mon Jun 9, 10:04 am)