Quoting Johannes Schindelin <Johannes.Schindelin@xxxxxx> > On Sat, 17 Oct 2009, Sean Estabrooks wrote: > >> On Fri, 16 Oct 2009 04:07:23 +0200 (CEST) >> Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: >> >> > Just recently, I had a user request (a very valid one, mind you) where >> > the user does not want to provide a commit message, and wants to just >> > commit all the current changes. In that particular case, it is very >> > sensible to ask for these things. It is something utterly simple to >> > ask for. Yet, it is utterly hard with Git, especially if I have to >> > explain it. >> >> Hey Johannes, >> >> It's actually easy, but maybe hard to find: >> >> $ git commit --cleanup=verbatim -m "" > > Of course that leaves out the main part. But it is simple once you > know it (I did not): git add -A (we even went out of our way _not_ to name > the long option --addremove, but --all -- it does not seem to be an > expressive-enough option name to me, but what does my impression > matter...) > > So I retract my claim that it is utterly hard to do with Git (but not the > rest). Last week, Junio gave this comment to your message. > I suspect the above is another example of your needing to do > a better job explaining yourself here, but from "just commit > all the changes without saying message", my knee-jerk > reaction is "git commit -a -m 'no message'". > You would need to justify why -m 'no message' does not fit > the bill better than just saying "is very sensible to ask for > these things", as I highly suspect that I misunderstood what > "these things" are in your five lines to come up with that > "solution" that you are now going to explain why that is not > what the end user wanted. And in this case, I do not think > it is that me being disconnected from the real world, but > that your explanation is insufficient. I'm also curious about the situation when a commit with no message is useful, but unfortunately I don't think I saw you explained clearly enough what this user request wanted to achieve or what "these things" in your message were for us to understand why it is a sensible and valid thing to ask. Did I miss some messages in the thread? -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/ -- 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