mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Revert "t5303: Do not overwrite an existing pack"
This reverts commit 8054a9ec60.
This commit is contained in:
@@ -43,11 +43,8 @@ create_new_pack() {
|
||||
|
||||
do_repack() {
|
||||
pack=`printf "$blob_1\n$blob_2\n$blob_3\n" |
|
||||
git pack-objects $@ .git/objects/pack/packtmp` &&
|
||||
packtmp=".git/objects/pack/packtmp-${pack}" &&
|
||||
pack=".git/objects/pack/pack-${pack}" &&
|
||||
mv "${packtmp}.pack" "${pack}.pack" &&
|
||||
mv "${packtmp}.idx" "${pack}.idx"
|
||||
git pack-objects $@ .git/objects/pack/pack` &&
|
||||
pack=".git/objects/pack/pack-${pack}"
|
||||
}
|
||||
|
||||
do_corrupt_object() {
|
||||
|
||||
Reference in New Issue
Block a user