Re: [PATCH] git-commit: Disallow amend if it is going to produce an empty non-merge commit

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

 



"Dmitry V. Levin" <ldv@xxxxxxxxxxxx> writes:

> Right now one can amend the last non-merge commit using a dirty index
> and in the process maybe cause the last commit to have the same tree
> as its parent.  In such a case one would want to discard the last commit
> instead of amending it.

This makes sense, as the previous test was not testing what
needs to be tested.  Applied.
-
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]

  Powered by Linux