On Wed, Aug 08, 2007 at 02:33:48PM -0400, Alexandre Bourget wrote: > --- > Adds a context menu for commits, so that a 'rebase' can be done. > > Optionally, it will ask if you want to 'stash' current work before doing so. > > TODO: better error handling. > [...long patch ...] > + # TODO: error handling. > + exec git rebase $id > + > + if {$confirm_ok} { > + exec git stash apply stash@{0} 'git stash apply' could fail with merge conflicts ... > + exec git stash clear and here you are throwing the stash away! > + } > + > + notbusy rebasehead > + updatecommits > +} -Peter - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html