Re: [PATCH 2/2] wt-status: take advice.statusHints seriously

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Friday, April 23, 2010 - 11:31 am

Michael J Gruber <git@drmicha.warpmail.net> writes:

I agre that it might be a good idea, but it is not something to do
"while we're at it".
 
Tay Ray Chuan probably meant that he "while at it" (while reviewing
this patch) had this idea...


Perhaps git should introduce helper commands, similar to 'die', 'warn'
and 'error', but for hints and advices, e.g. hint(bool, "<string>")
which would print advice on its own line (like 'die' and 'warn') with
appropriate prefix if advices, and e.g. 'advice', which would return
either empty string or string with advice (a bit like 'error').

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
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.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/RFD] wt-status: take advice.statusHints seriously, Michael J Gruber, (Wed Apr 21, 7:47 am)
Re: [RFC/RFD] wt-status: take advice.statusHints seriously, Junio C Hamano, (Thu Apr 22, 12:48 am)
[PATCH 1/2] t7508: test advice.statusHints, Michael J Gruber, (Thu Apr 22, 1:30 pm)
[PATCH 2/2] wt-status: take advice.statusHints seriously, Michael J Gruber, (Thu Apr 22, 1:30 pm)
Re: [PATCH 2/2] wt-status: take advice.statusHints seriously, Michael J Gruber, (Fri Apr 23, 1:09 am)
Re: [PATCH 2/2] wt-status: take advice.statusHints seriously, Jakub Narebski, (Fri Apr 23, 11:31 am)