]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-commit.sh
Merge branch 'master' of git://repo.or.cz/git/fastimport
[git.git] / git-commit.sh
index dc0fc3b679c78f2a1884658d556cc888a6d3e441..ec506d956fa2858897c53b35d28db8083b7fdcec 100755 (executable)
@@ -528,6 +528,7 @@ else
        rloga='commit (initial)'
        current=''
 fi
+set_reflog_action "$rloga"
 
 if test -z "$no_edit"
 then
@@ -602,7 +603,7 @@ then
        fi &&
        commit=$(cat "$GIT_DIR"/COMMIT_MSG | git-commit-tree $tree $PARENTS) &&
        rlogm=$(sed -e 1q "$GIT_DIR"/COMMIT_MSG) &&
-       git-update-ref -m "$rloga: $rlogm" HEAD $commit "$current" &&
+       git-update-ref -m "$GIT_REFLOG_ACTION: $rlogm" HEAD $commit "$current" &&
        rm -f -- "$GIT_DIR/MERGE_HEAD" "$GIT_DIR/MERGE_MSG" &&
        if test -f "$NEXT_INDEX"
        then