login
Header Space

 
 

Re: Newbie: report of first experience with git-rebase.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: J. Bruce Fields <bfields@...>, Johannes Schindelin <Johannes.Schindelin@...>, Sergei Organov <osv@...>, <git@...>
Date: Friday, November 2, 2007 - 6:13 am

Junio C Hamano wrote:

Make "git rebase --skip" skip patches regardless of tree and index state,
but still refuse to *start* with dirty tree or index. That way, there's
no risk of losing anything that can't be re-created unless the user asks
for it.

To be really anal, stash the current mess somewhere, re-apply the same
patch and diff the two states. If they're identical, do "git reset --hard"
and hop to next patch in rebase-series. If they're not, ask user to say
"--force-skip" instead.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
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: Newbie: report of first experience with git-rebase., Junio C Hamano, (Thu Nov 1, 4:20 pm)
Re: Newbie: report of first experience with git-rebase., Andreas Ericsson, (Fri Nov 2, 6:13 am)
speck-geostationary