From: Nguyen Thai Ngoc Duy Date: Thu, 30 Nov 2006 12:14:30 GMT Subject: Re: git and bzr Message-ID: In-Reply-To: On 11/30/06, Jakub Narebski wrote: > Nguyen Thai Ngoc Duy wrote: > > > On 11/30/06, Johannes Schindelin 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 " > Givor: and you didn't provide files to commit with "git commit " > 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 " Givor: and you didn't provide files to commit with "git commit " 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) --