cherry-pick: allow to pick to unborn branches
commit0f974e2124e5220674eee079988b87e23f5e2de1
authorMichael J Gruber <git@drmicha.warpmail.net>
Mon, 6 Jun 2016 13:23:54 +0000 (6 15:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jun 2016 19:59:28 +0000 (6 12:59 -0700)
tree6c26e7dd7d43ae3298e67fa6be99f3301b1425e4
parent765428699a5381f113d19974720bc91b5bfeaf1d
cherry-pick: allow to pick to unborn branches

cherry-pick allows to pick single commits to an empty HEAD, but not
multiple commits.

Allow the multiple commit case, too.

Reported-by: Fabrizio Cucci <fabrizio.cucci@gmail.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c