Hi, On Wed, 9 May 2007, Petr Baudis wrote: > On Sun, May 06, 2007 at 07:43:31PM CEST, Junio C Hamano wrote: > > A single liner "-m" is handy for "Oops, typofix in foo.c" kind > > of commit, but in such a case you literally would be changing > > only the typofix and won't have "edit foo.c; git add foo.c; edit > > foo.c; git commit" sequence anyway. > > I don't get this argument - I frequently write quite long descriptions > inside the -m argument(s), since I just find it more convenient than > having to edit it in an editor, for various reasons. So there is really > no reason why the "-m is only for short single-liner commit messages" > hypothesis could hold true. :-) You yourself provided a reason in another reply: typos. Another reason is that you can see how the end result will look like in an editor. For example, you'll have a hard time making sure in the command line that the lines are no longer than 76 characters. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html