Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > "git pack-objects" has the option --max-pack-size to limit the file > size of the packs to a certain amount of bytes. On platforms where > the pack file size is limited by filesystem constraints, it is easy > to forget this option, and this option does not exist for "git gc" > to begin with. > > So introduce a config variable to set the default maximum, but make > this overrideable by the command line. The intention is good and all makes sense. > +test_expect_success \ > + 'honor pack.packSizeLimit' \ > + 'git config pack.packSizeLimit 200 && > + packname_4=$(git pack-objects test-4 <obj-list) && > + test 3 = $(ls test-4-*.pack | wc -l)' > + Where does "3" come from, and what could break it? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html