X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-rename.perl;fp=git-rename.perl;h=3b1127b1b20280cc4c6c657168dba963f31fa067;hb=230f13225df8b7e7eb0acc91a8c630f9e84967c1;hp=a28c8c83bb98e81635ce5cb629921e13eca1e3c2;hpb=0d0b7c237af0846123bef73879d65a3e78a56461;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."); }