Amending merge commits?
- From
- Besen, David <david.besen@hp.com>
- Date
- Jul 25, 2014, 22:03 UTC
- Message-ID
- <22F01493C523F940B4B5E53BB6D0F5352275F207@G5W2738.americas.hpqcorp.net>
Hi folks,
I think one of my coworkers has stumbled on a git bug -- if you amend a merge commit, and then pull, your amends are lost.
Is this expected behavior?
I've reproduced the problem in a script (attached). I ran it against a couple of versions of git (1.7.1, 1.7.9, 1.8.4, 2.0.0) and in each case it seemed to lose the amend.
- Dave