Merge branch 'km/branch-get-push-while-detached' into maint
commitf5f55a1046d85bd78244d25617358f48619785f8
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:32:08 +0000 (31 13:32 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:32:08 +0000 (31 13:32 -0800)
treed64b02de7308c6ae3767b92b1492ed9bbae505de
parent2b3f61dc8b5ee4ee5b1c1ad8bdeebce52244a3a6
parentb10731f43dc21fa47c275052e7c074c686335cd3
Merge branch 'km/branch-get-push-while-detached' into maint

"git <cmd> @{push}" on a detached HEAD used to segfault; it has
been corrected to error out with a message.

* km/branch-get-push-while-detached:
  branch_get_push: do not segfault when HEAD is detached
remote.c