[PATCH 2/2] rebase -i: fix post-rewrite hook with failed exec command

2015-05-22 Thread Matthieu Moy
Usually, when 'git rebase' stops before completing the rebase, it is to give the user an opportunity to edit a commit (e.g. with the 'edit' command). In such cases, 'git rebase' leaves the sha1 of the commit being rewritten in $state_dir/stopped-sha, and subsequent 'git rebase --continue' will

[PATCH 2/2] rebase -i: fix post-rewrite hook with failed exec command

2015-05-21 Thread Matthieu Moy
Usually, when 'git rebase' stops before completing the rebase, it is to give the user an opportunity to edit a commit (e.g. with the 'edit' command). In such cases, 'git rebase' leaves the sha1 of the commit being rewritten in $state_dir/stopped-sha, and subsequent 'git rebase --continue' will