Re: Feature request: git-pull -e/--edit
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 20, 2006, 02:17 UTC
- Message-ID
- <7vy7q67tf2.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061119212611.13038.qmail@science.horizon.com>
linux@horizon.com writes:
Show 9 quoted lines
> The last end-user use I can think of for git-merge instead > of git-pull is providing a custom commit message. > > Would it be possible to add -m and -e options to git-pull? > > The problem I can see is that the latter would have to be added to > git-merge, and the guts there are a bit intricate; it uses git-commit-tree > directly rather than git-commit, so I can't just pass through the > arguments.
How often is this desired, when the merge is clean?
If the answer is "not so often", you can already use "commit --amend" after "pull" creates an automated merge commit.