Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-19 09:55:42 +0300
committerJunio C Hamano <junkio@cox.net>2006-02-19 09:55:42 +0300
commit709a9e5771ddb32995df6a0622e5d643baa4487a (patch)
tree2f0a8abd8d61d569b02afd7a6a15df5c7a4be10a /sha1_file.c
parent711fc8f660be16ae4c4caaf3caa495d12310b5ad (diff)
parent39ba7d54649b35c943b026b54bff40cfa0153f3e (diff)
Merge fixes up to GIT 1.2.2
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 64cf245418..1d799f793a 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -551,8 +551,10 @@ static void prepare_packed_git_one(char *objdir, int local)
sprintf(path, "%s/pack", objdir);
len = strlen(path);
dir = opendir(path);
- if (!dir)
+ if (!dir) {
+ fprintf(stderr, "unable to open object pack directory: %s: %s\n", path, strerror(errno));
return;
+ }
path[len++] = '/';
while ((de = readdir(dir)) != NULL) {
int namelen = strlen(de->d_name);