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