Merge branch 'jk/fast-import-cleanup'
commit53a0f9f7ad8cda231ce5bb15a0f086f29bdc6de3
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 21:05:59 +0000 (28 14:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 21:05:59 +0000 (28 14:05 -0700)
treebe3fdc3c02d35634ef2471ff105e2750fe61aa4d
parentf4948902923685134bc01292f2c97315eab6c82a
parent2c5e2865cc3dfc053e71510415f479e165119d04
Merge branch 'jk/fast-import-cleanup'

Code clean-up.

* jk/fast-import-cleanup:
  pack.h: define largest possible encoded object size
  encode_in_pack_object_header: respect output buffer length
  fast-import: use xsnprintf for formatting headers
  fast-import: use xsnprintf for writing sha1s
builtin/pack-objects.c
fast-import.c