summaryrefslogtreecommitdiff
path: root/git-rename.perl
diff options
context:
space:
mode:
Diffstat (limited to 'git-rename.perl')
-rwxr-xr-xgit-rename.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rename.perl b/git-rename.perl
index a28c8c8..3b1127b 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.");
}