Merge branch 'jk/name-pack-after-byte-representation'
commit53b2a5ff30cde96c5d62f60600996a0a95847842
authorJunio C Hamano <gitster@pobox.com>
Fri, 27 Dec 2013 22:58:19 +0000 (27 14:58 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Dec 2013 22:58:19 +0000 (27 14:58 -0800)
treee7b1e93f7654832e50bf052e69329a93a8d8bcd6
parent73b063130befa7475316a142343de87da61f31e3
parent40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75
Merge branch 'jk/name-pack-after-byte-representation'

Two packfiles that contain the same set of objects have
traditionally been named identically, but that made repacking a
repository that is already fully packed without any cruft with a
different packing parameter cumbersome. Update the convention to
name the packfile after the bytestream representation of the data,
not after the set of objects in it.

* jk/name-pack-after-byte-representation:
  pack-objects doc: treat output filename as opaque
  pack-objects: name pack files after trailer hash
  sha1write: make buffer const-correct