Thread (71 messages) flat view 71 messages, 8 authors, 2016-06-15

Re: [PATCH 1/4] git-cherry-pick: add keep-empty option

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2016-06-15 22:53:26

On Fri, Mar 30, 2012 at 03:48:39PM -0400, Neil Horman wrote:
git cherry-pick fails when picking a non-ff commit that is empty.  The advice
given with the failure is that a git-commit --allow-empty should be issued to
explicitly add the empty commit during the cherry pick.  This option allows a
user to specify before hand that they want to keep the empty commit.  This
eliminates the need to issue both a cherry pick and a commit operaion.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Jeff King <redacted>
CC: Phil Hord <redacted>
CC: Junio C Hamano <redacted>
As you and Jeff noted, I can certainly change keep-empty to allow-empty, both
here and in the rebase command.  I'll add a test for it as well, early this
comming week.  Thanks!

Neil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help