Merge branch 'jx/do-not-crash-receive-pack-wo-head' into maint
commit17850efa5f5c471f622d860e8ebd9f28de3c388e
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 21:41:26 +0000 (19 14:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 21:41:26 +0000 (19 14:41 -0700)
treeaf9e8cc9711e145d61f87e201d8ffa29415ce8df
parent5a30374a29a4ee9725d6ea165ead19a748eaed4c
parentb112b14d7869bf3c000abb84cd22e57dd811d031
Merge branch 'jx/do-not-crash-receive-pack-wo-head' into maint

An attempt to delete a ref by pushing into a repositorywhose HEAD
symbolic reference points at an unborn branch that cannot be
created due to ref D/F conflict (e.g. refs/heads/a/b exists, HEAD
points at refs/heads/a) failed.

* jx/do-not-crash-receive-pack-wo-head:
  receive-pack: crash when checking with non-exist HEAD
builtin/receive-pack.c