X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-revert.sh;h=c1aebb159cab86f419ff2aaab2a8f1d9d79a9a72;hb=ae2b0f15180d4b044828c836bcab6a990efa5c8e;hp=4ba6912f0de972a95ec040aa9fb09af78ab2765b;hpb=e8cc80d03934cc607e3a4d89a05350c238dbf9c5;p=git.git diff --git a/git-revert.sh b/git-revert.sh index 4ba6912f..c1aebb15 100755 --- a/git-revert.sh +++ b/git-revert.sh @@ -3,7 +3,7 @@ # Copyright (c) 2005 Linus Torvalds # Copyright (c) 2005 Junio C Hamano # -. git-sh-setup || die "Not a git archive" +. git-sh-setup case "$0" in *-revert* )