Subject: Re: [PATCH] Warnings before rebasing -i published history

From: Matthieu Moy <[email-masked]>
Date: Fri, 08 Jun 2012 16:25:08 +0200

[email-masked] writes:

> Matthieu Moy <[email-masked]> a Ã©critÂ :
>
>>>  test -s "$todo" || echo noop >> "$todo"
>>>  test -n "$autosquash" && rearrange_squash "$todo"
>>> +warn_published "$todo"
>>
>> That should be configurable.
>
> Do you mean that it should be controlled by a key config (maybe a new
> advice.*) in the config file ? Or through an option ?

That should be a config key, I don't think a user wants to type
--no-published-warnings each time he doesn't want warnings.

Current usage of advice.* is a bit different as it usually talks about
git's output on the terminal, but I think added comments in the rebase
todolist would be an acceptable use of advice.*.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/