author | Matthias Kestenholz <matthias@spinlock.ch> | |
Tue, 29 Aug 2006 09:12:14 +0000 (11:12 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 29 Aug 2006 09:17:15 +0000 (02:17 -0700) | ||
commit | 9e848013968959bd4de5d407c2ee91cb960c53bb | |
tree | b87fcf3b4bb31637c693fd1113c6882ac6b5b3bb | tree | snapshot |
parent | a44465ccd998bcb6fbfb49cb63d5206dce26051a | commit | diff |
Check if pack directory exists prior to descending into it
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>
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>
git-repack.sh | diff | blob | history |