Merge branch 'jk/empty-archive' into next
commit942e59206d8cb6296a52ecfc54d7a24248586c5b
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Mar 2013 21:07:51 +0000 (12 14:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Mar 2013 21:07:52 +0000 (12 14:07 -0700)
treedc2fffc3e4beb5842a78af43df340ada9e200d8b
parent31a4a5e11e1dc9d6ffdbc4bf0f5eb7b47c464c58
parentbd54cf17a4acfb9555b8a83b7e74fb0274c38bb4
Merge branch 'jk/empty-archive' into next

"git archive" reports a failure when asked to create an archive out
of an empty tree.  It would be more intuitive to give an empty
archive back in such a case.

* jk/empty-archive:
  archive: handle commits with an empty tree
  test-lib: factor out $GIT_UNZIP setup
t/t5003-archive-zip.sh
t/test-lib.sh