Re: [PATCH 0/4] Enhance git-rebases flexibiilty in handling empty commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 30, 2012, 20:32 UTC
- Message-ID
- <7vpqbtltiq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1333136922-12872-1-git-send-email-nhorman@tuxdriver.com>
Neil Horman <nhorman@tuxdriver.com> writes:
Show 7 quoted lines
> for interactive rebases, I changed the default selection editor text somewhat. > By default, empty commits are allowed in this list. With patch 4 here, empty > commits are commented out automatically, unless --keep-empty is selected (in > which case all commits are pick-ed). The user sees additional text indicating > that empty commits are commented and if they wish to be kept, then they must be > uncommented. The pick_one function then intellegently passes the --keep-empty > option allong to cherry-pick as needed.
Sounds like a sensible UI design. I am a bit curious what it would do when you try to "rebase -i" a series of commits, all of which are empty, though.
> Signed-off-by: Neil Horman <nhorman@tuxdriver.com> > CC: Jeff King <peff@peff.net> > CC: Phil Hord <phil.hord@gmail.com> > CC: Junio C Hamano <gitster@pobox.com>
Please do not do this; Cc: goes to your e-mail header, not here.