Merge branch 'jk/empty-archive' into next
commitbb4eb61e6c88337070275da7f1b9939e74808a46
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 22:57:16 +0000 (19 15:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 22:57:16 +0000 (19 15:57 -0700)
tree31303eb43be7da7ad3e7b7609264a363d2779c6f
parent577ddf25d6855996be7aef6bddaf97743f923310
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