rebase: add --show-current-patch
[gitweb.git] / git-rebase--interactive.sh
index d47bd29593ad8711448293f3b6bf2e059323ff78..0c0f8abbf9e569c8f074b98242cecfb56d45c046 100644 (file)
@@ -840,6 +840,9 @@ To continue rebase after editing, run:
 
        exit
        ;;
+show-current-patch)
+       exec git show "$(cat "$state_dir/stopped-sha")" --
+       ;;
 esac
 
 comment_for_reflog start