Re: [WIP/PATCH 0/4] Re: Making error messages stand out
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Aug 11, 2010, 09:58 UTC
- Message-ID
- <AANLkTinxm9Fzwewh2BS0kMxDGG=QKhz3wfVwNikTVZSr@mail.gmail.com>
- In-Reply-To
- <vpqhbj11o9d.fsf@bauges.imag.fr>
On Wed, Aug 11, 2010 at 7:39 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 24 quoted lines
> Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes: > >> Even better, make it available for some time with, say "git hints". >> After doing lots of things to resolve conflicts, I simply forget what >> it hinted me. > > Actually, I don't think we should add a new command for that, but add > something to "git status", like > > $ git status > # On branch master > # rebase in progress (use "git rebase --continue" to proceed) > # ... > > Same would apply to conflicting merges. It's very common for beginners > (especially when they come from SVN) to start a merge, mis-read the > message telling you to commit once you fixed the conflicts, fix > conflicts, and continue hacking. A message in "git status" when > .git/MERGE_HEAD exists would help a bit, like (depending on whether > the index still has conflicts): > > # merge in progress (fix conflicts below and commit) > > # merge in progress (use "git commit" to proceed)
Yes. Looks good. Except that I rarely use git-status these days. Maybe that will motivate me to use that command more.
> If one adds an option to make it all-caps, red, and blinking, then > I'll activate it for my students ;-).
I'd suggest you patch git-status with figlet to get some more attention :-)
-- Duy