On 11/30/06, Jakub Narebski <jnareb@gmail.com> wrote: > Nguyen Thai Ngoc Duy wrote: > > > On 11/30/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > >> But here's an idea: tell the user that she has to tell git-commit which > >> files she wants committed. Yes! That's it. Just tell it the friggin' > >> files. And if you are a lazy bum, and want to commit _all_ modified > >> files, git has a nice shortcut for ya: "-a". > > > > It reminds me Microsoft Office Assistant :-) Let's make "git assistant > > mode" that tries hard to guess user's desires and give them guidance. > > Once they get used to git, they can disable that mode and back to > > "plain git". > > The 'givor' (pun on Vi 'vigor') or 'gitor', or 'gator'. > > $ git commit > [...] > nothing to commit > $ givor > $ git commit > Givor: You haven't marked any file for commit using "git-update-index <file>" > Givor: and you didn't provide files to commit with "git commit <file>" > Givor: so I assume that you wanted to commit all changed files > Givor: You can use "git commit -a" for that (-a is for --all) I am serious about that. I haven't thought of it as an independent command/program though. Can you implement givor exactly like the above example? > ;-) Okay now joke part. This command name is better :-D $ git commit [...] nothing to commit $ dammit $ git commit Givor: You haven't marked any file for commit using "git-update-index <file>" Givor: and you didn't provide files to commit with "git commit <file>" Givor: so I assume that you wanted to commit all changed files Givor: You can use "git commit -a" for that (-a is for --all) -- Duy - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Nov 30 23:41:09 2006
This archive was generated by hypermail 2.1.8 : 2006-12-01 00:04:52 EST