Re: Allow editing of a revert-message
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Nov 23, 2005, 19:42 UTC
- Message-ID
- <Pine.LNX.4.64.0511231141030.13959@g5.osdl.org>
- In-Reply-To
- <7v7jaz5fj7.fsf@assigned-by-dhcp.cox.net>
On Wed, 23 Nov 2005, Junio C Hamano wrote:
Show 10 quoted lines
>
> I think we can do
>
> -e)
> edit="-e" ;;
> ..
>
> git-commit -n -F .msg $edit
>
> to lose the ${EDITOR-${VISUAL-vi}} part..You are of course right. That would also fix the total idiocy of my patch that had you editing the message even if it wasn't used due to a "-n" that disables commits ;)
Linus