Sha256: ae0e3841fdbdb7e5ccabd53b64311d49f496799e9fa6bc61de347097c3b0e8dc
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 Bytes
Contents
difficulty 2 description "Optimise how your repository is packaged ensuring that redundant packs are removed." setup do repo.init FileUtils.touch("foo") repo.add("foo") repo.commit_all("Added foo") system "git branch -m master" end solution do result = `git count-objects -v` required = ["count: 0", "prune-packable: 0"]; required.all? { |r| result.include?(r) } end hint do puts "You want to research the `git repack` command." end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
githug-0.5.1 | levels/repack.rb |