Check if pack directory exists prior to descending into it
authorMatthias Kestenholz <matthias@spinlock.ch>
Tue, 29 Aug 2006 09:12:14 +0000 (11:12 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 Aug 2006 09:17:15 +0000 (02:17 -0700)
This fixes the following warning:

git-repack: line 42: cd: .git/objects/pack: No such file or directory

This happens only, when git-repack -a is run without any packs in the
repository.

Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found