diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-19 07:55:42 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-19 07:55:42 +0100 |
commit | 709a9e5771ddb32995df6a0622e5d643baa4487a (patch) | |
tree | 2f0a8abd8d61d569b02afd7a6a15df5c7a4be10a /sha1_file.c | |
parent | Add an Emacs interface in contrib. (diff) | |
parent | Fix retries in git-cvsimport (diff) | |
download | git-709a9e5771ddb32995df6a0622e5d643baa4487a.tar.xz git-709a9e5771ddb32995df6a0622e5d643baa4487a.zip |
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 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); |