]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-rebase.sh
rebase: create HEAD reflog entry when aborting
[thirdparty/git.git] / git-rebase.sh
index 7a54bfc6182a567860af023cb7720680d1806c72..57cbe49ea42cb58031b8f78daef4d318486cc1cc 100755 (executable)
@@ -332,7 +332,7 @@ abort)
        read_basic_state
        case "$head_name" in
        refs/*)
-               git symbolic-ref HEAD $head_name ||
+               git symbolic-ref -m "rebase: aborting" HEAD $head_name ||
                die "Could not move back to $head_name"
                ;;
        esac