]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-rebase--interactive.sh
wildmatch: rename constants and update prototype
[thirdparty/git.git] / git-rebase--interactive.sh
index 0c19b7c7539192851d5bd43df686baa97dc0df73..84926783d1c4956727226bbabe796467819d36e5 100644 (file)
@@ -548,11 +548,10 @@ do_next () {
        test -s "$todo" && return
 
        comment_for_reflog finish &&
-       shortonto=$(git rev-parse --short $onto) &&
        newhead=$(git rev-parse HEAD) &&
        case $head_name in
        refs/*)
-               message="$GIT_REFLOG_ACTION: $head_name onto $shortonto" &&
+               message="$GIT_REFLOG_ACTION: $head_name onto $onto" &&
                git update-ref -m "$message" $head_name $newhead $orig_head &&
                git symbolic-ref \
                  -m "$GIT_REFLOG_ACTION: returning to $head_name" \