X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-rename.perl;h=3b1127b1b20280cc4c6c657168dba963f31fa067;hb=8d7d1670a87743c699aa8a981506c952088dc2d4;hp=a28c8c83bb98e81635ce5cb629921e13eca1e3c2;hpb=c1067050ce58b5b39f528fe634732da858664603;p=git.git diff --git a/git-rename.perl b/git-rename.perl index a28c8c83..3b1127b1 100755 --- a/git-rename.perl +++ b/git-rename.perl @@ -15,7 +15,7 @@ sub usage($); my $GIT_DIR = $ENV{'GIT_DIR'} || ".git"; unless ( -d $GIT_DIR && -d $GIT_DIR . "/objects" && - -d $GIT_DIR . "/objects/00" && -d $GIT_DIR . "/refs") { + -d $GIT_DIR . "/objects/" && -d $GIT_DIR . "/refs") { usage("Git repository not found."); }