Re: git and bzr
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 30, 2006, 12:14 UTC
- Message-ID
- <fcaeb9bf0611300414p357e2e90sc6cbd877df0f20e9@mail.gmail.com>
- In-Reply-To
- <ekmgud$oss$1@sea.gmane.org>
On 11/30/06, Jakub Narebski <jnareb@gmail.com> wrote:
Show 24 quoted lines
> 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)