Revert "completion: fix shell expansion of items"
[git.git] / git-rebase--interactive.sh
index 0d2056f027cbd6811faee3c45088a11b24d86102..a09e8423ddb1d05c581ef72101c3f5201ce2eeb9 100644 (file)
@@ -569,11 +569,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" \