login
Header Space

 
 

Re: [PATCH v2 2/4] Add git-sequencer prototype documentation

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephan Beyer <s-beyer@...>
Cc: <git@...>, Christian Couder <chriscool@...>, Daniel Barkalow <barkalow@...>, Johannes Schindelin <Johannes.Schindelin@...>, Junio C Hamano <gitster@...>
Date: Tuesday, July 8, 2008 - 6:37 am

On Sat, 5 July 2008, Stephan Beyer wrote:




A few comments and ideas:

1. Splitting a patch

I cannot comment well on git-sequencer, as I have started using
StGIT patch management interface instead of git-rebase in times when
there were no "git rebase --interactive".  Nevertheless working with
StGIT is a bit similar to working with interactive rebase...

I don't find myself wanting to join two patches into one (to squadh
a commit) perhaps because when I want to add something to a commit
(to a patch) I simply go to this patch, edit files, and refresh the
patch.  From time to time however I find myself SPLITTING a patch,
for example extracting something added "by the way"/"while at it"
into separate commit (like late separate better documenting
project_index file format from adding optional description field
to project_index file format).

Currently I don't see easy way to do this with git-sequencer.


2. Patch based rebase

git-rebase by default, and for speed, uses git-format-patch / git-am
pipeline (utilizing '--rebasing' option to git-am to avoid changing
commit messages, even if they do not follow commit message conventions).
If you want for plain "git rebase" to use git-sequencer, it should be
easy to support this "engine"; therefore perhaps it would be good
to add some equivalent of "git format-patch" to the TODO file format.


3. Checking rebase

Usually when you are interacting with upstream by sending patches by
email, the last part before sending series of patches is git-rebase
on top of current work.  It would be nice if there were some way to
have "git rebase" (via git-sequencer) to check that all commits
(perhaps with some explicitly stated in TODO file exceptions) passes
pre-commit hook (checking for whitespaces and conflict markers), and
if possibly also either test suite, or relevant parts of test suite.

So perhaps extending TODO format by "check <script>" or
"check-all <script>"?


I'm just not sure if it is worth adding to TOD file format...
-- 
Jakub Narebski
Poland
--
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:
git sequencer prototype, Stephan Beyer, (Mon Jun 30, 10:38 pm)
Re: git sequencer prototype, Alex Riesen, (Fri Jul 4, 5:00 pm)
Re: git sequencer prototype, Junio C Hamano, (Fri Jul 4, 6:09 pm)
Re: git sequencer prototype, Alex Riesen, (Sat Jul 5, 4:13 am)
Re: git sequencer prototype, Johannes Schindelin, (Sat Jul 5, 6:13 am)
Re: git sequencer prototype, Thomas Adam, (Sat Jul 5, 6:12 am)
Re: git sequencer prototype, Stephan Beyer, (Fri Jul 4, 6:23 pm)
Re: git sequencer prototype, Junio C Hamano, (Tue Jul 1, 4:51 am)
Re: git sequencer prototype, Stephan Beyer, (Tue Jul 1, 10:53 am)
[RFC/PATCH 1/4] Add git-sequencer shell prototype, Stephan Beyer, (Mon Jun 30, 10:38 pm)
[PATCH v2 1/4] Add git-sequencer shell prototype, Stephan Beyer, (Sat Jul 5, 12:58 pm)
Re: [RFC/PATCH 1/4] Add git-sequencer shell prototype, Jakub Narebski, (Thu Jul 3, 9:10 am)
Re: [RFC/PATCH 1/4] Add git-sequencer shell prototype, Stephan Beyer, (Thu Jul 3, 5:12 pm)
[RFC/PATCH 2/4] Add git-sequencer prototype documentation, Stephan Beyer, (Mon Jun 30, 10:38 pm)
Re: [PATCH v2 2/4] Add git-sequencer prototype documentation, Jakub Narebski, (Tue Jul 8, 6:37 am)
[RFC/PATCH 3/4] Add git-sequencer test suite (t3350), Stephan Beyer, (Mon Jun 30, 10:38 pm)
Re: [RFC/PATCH 3/4] Add git-sequencer test suite (t3350), Junio C Hamano, (Sat Jul 5, 2:16 pm)
[RFC/PATCH 4/4] Migrate git-am to use git-sequencer, Stephan Beyer, (Mon Jun 30, 10:38 pm)
git-rebase-i migration to sequencer, Stephan Beyer, (Mon Jun 30, 10:39 pm)
[PATCH 1/2] Make rebase--interactive use OPTIONS_SPEC, Stephan Beyer, (Mon Jun 30, 10:39 pm)
[RFC/PATCH 2/2] Migrate git-rebase--i to use git-sequencer, Stephan Beyer, (Mon Jun 30, 10:39 pm)
speck-geostationary