Merge branch 'jk/format-patch-empty-prefix'
[gitweb.git] / git-rebase--interactive.sh
index 41ba96aeb7f8ee32f7c346d5d7934f4d6b305d2f..65690af89307abd72749123caddce9e6c4692383 100644 (file)
@@ -510,7 +510,9 @@ do_next () {
        refs/*)
                message="$GIT_REFLOG_ACTION: $head_name onto $shortonto" &&
                git update-ref -m "$message" $head_name $newhead $orig_head &&
-               git symbolic-ref HEAD $head_name
+               git symbolic-ref \
+                 -m "$GIT_REFLOG_ACTION: returning to $head_name" \
+                 HEAD $head_name
                ;;
        esac && {
                test ! -f "$state_dir"/verbose ||