Re: [PATCH] rebase -i: support single-letter abbreviations for the actions
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:37
Johannes Schindelin [off-list ref] writes:
On Sat, 29 Sep 2007, Avi Kivity wrote:quoted
quoted
quoted
Can we make "amend" like squash, except that it keeps the first commit's authorship instead of the second? I often merge a commit with some minor fix that comes later, and usually want to keep the original author record.Thinking about this again... Maybe it is a better semantics anyway? What do others think?
I never thought about whose commit the squashed ones become before this thread, but making squash quack as if "commit --amend" was done after running "cherry-pick -n" the second and later ones feels like the most natural semantics to me.