Merge branch 'jk/empty-archive'
commit63868f636fe44b67bc56753b0e6edca32568e07c
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 21:00:48 +0000 (25 14:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 21:00:48 +0000 (25 14:00 -0700)
tree738718ff0c6df1586f174466a99a7ca24f1a31f5
parent573f1a9cf163365637a36a6d95c670883a918352
parentbd54cf17a4acfb9555b8a83b7e74fb0274c38bb4
Merge branch 'jk/empty-archive'

"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