]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-revert.sh
fast-import: Hide the pack boundary commits by default.
[thirdparty/git.git] / git-revert.sh
index bb8f1ca24aadf47734049b740be8f539e0e9325d..49f00321b28833c24ebb78ea2104f34091d43017 100755 (executable)
@@ -54,6 +54,8 @@ do
        shift
 done
 
+set_reflog_action "$me"
+
 test "$me,$replay" = "revert,t" && usage
 
 case "$no_commit" in
@@ -81,7 +83,7 @@ prev=$(git-rev-parse --verify "$commit^1" 2>/dev/null) ||
 git-rev-parse --verify "$commit^2" >/dev/null 2>&1 &&
        die "Cannot run $me a multi-parent commit."
 
-encoding=$(git repo-config i18n.commitencoding || echo UTF-8)
+encoding=$(git config i18n.commitencoding || echo UTF-8)
 
 # "commit" is an existing commit.  We would want to apply
 # the difference it introduces since its first parent "prev"