We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66da4be commit 9a59c77Copy full SHA for 9a59c77
git-unpack
@@ -6,6 +6,10 @@ if [ -f .git/objects/pack/*.pack ]; then
6
7
for pack in .git/objects/pack/*.pack; do
8
GIT_DIR=/tmp/tmpgit.$$ git unpack-objects < $pack
9
+ if [ $? -ne 0 ]; then
10
+ echo "Unpack of $pack failed, aborting"
11
+ exit 1
12
+ fi
13
done
14
15
rsync -a --info=PROGRESS2 --delete /tmp/tmpgit.$$/objects/ .git/objects/
0 commit comments