diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-18 22:55:42 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-18 22:55:42 -0800 |
commit | 709a9e5771ddb32995df6a0622e5d643baa4487a (patch) | |
tree | 2f0a8abd8d61d569b02afd7a6a15df5c7a4be10a /sha1_file.c | |
parent | 711fc8f660be16ae4c4caaf3caa495d12310b5ad (diff) | |
parent | 39ba7d54649b35c943b026b54bff40cfa0153f3e (diff) | |
download | git-709a9e5771ddb32995df6a0622e5d643baa4487a.tar.gz git-709a9e5771ddb32995df6a0622e5d643baa4487a.tar.xz |
Merge fixes up to GIT 1.2.2
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 64cf24541..1d799f793 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); |