Re: git-commit-script, was Re: "git revert" (Re: pci_update_resource() getting called on sparc64)
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Aug 8, 2005, 22:01 UTC
- Message-ID
- <Pine.LNX.4.58.0508081458550.3258@g5.osdl.org>
- In-Reply-To
- <7vhde02jab.fsf@assigned-by-dhcp.cox.net>
On Mon, 8 Aug 2005, Junio C Hamano wrote:
> > Sure, what's the alternative spelling for the current -m, > though? Would -c be OK for commit?
How about using long names?
git commit --reuse-message <sha1>
looks a lot more intuitively understandable to me than something like "-c"
Most of us don't use 300bps terminals any more, so typing a few extra characters is probably ok.
Now, to make things be backwards-compatible, it should be easy enough to notice
"Oh, the argument to '-m' is just a single SHA1, let's see if it's a
commit, and turn '-m' into '--reuse-message' automatically"If anybody cares. Does cogito already use "-m"?
Linus