index c30fee81f5eb282798b6ca4abc4bd777f262080a..2f8e97cb7ea4b8bdf56d5795d512534d504d25c0 100755 (executable)
}
test_valid_repo() {
- git fsck-objects --full > fsck.log &&
+ git fsck --full > fsck.log &&
test `wc -l < fsck.log` = 0
}
git add file1 &&
git commit -m "Initial commit" file1 &&
git repack -a -d &&
-git prune --grace=off'
+git prune'
cd "$base_dir"
git add file2 &&
git commit -m "next commit" file2 &&
git repack -a -d -l &&
-git prune --grace=off'
+git prune'
cd "$base_dir"
git add file3 &&
git commit -m "one more" file3 &&
git repack -a -d -l &&
-git prune --grace=off'
+git prune'
cd "$base_dir"