From: Junio C Hamano Date: Fri, 30 Mar 2012 20:32:13 GMT Subject: Re: [PATCH 0/4] Enhance git-rebases flexibiilty in handling empty commits Message-ID: <7vpqbtltiq.fsf@alter.siamese.dyndns.org> In-Reply-To: <1333136922-12872-1-git-send-email-nhorman@tuxdriver.com> Neil Horman writes: > 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 > CC: Jeff King > CC: Phil Hord > CC: Junio C Hamano Please do not do this; Cc: goes to your e-mail header, not here.