Re: [PATCH] Mod. gitk to support REBASE (with stash support).
On Wed, Aug 08, 2007 at 02:33:48PM -0400, Alexandre Bourget wrote:
Show 7 quoted lines
> ---
> 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.
>
Show 5 quoted lines
> + # 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!
Show 5 quoted lines
> + }
> +
> + notbusy rebasehead
> + updatecommits
> +}