Re: [PATCH/RFC] Allow empty commits during rebase -i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 17 Jan 2010, Pete Harlan wrote:

> If the introduction of empty commits that the user has asked for 
> (perhaps inadvertently) is considered too undesirable, then perhaps my 
> fix is too simple.  I'll think about how to do something more 
> sophisticated.

How about something less sophisticated instead?  Namely, check for the 
condition that nothing was changed, and tell the user that the commit 
blablabla seems to introduce changes that are already present in HEAD.  
Maybe even mention that this may be due to the commit being applied 
already and saying that --continue is safe in that case, but please check.

Hmm?

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]