Re: [PATCH] Warnings before rebasing -i published history
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 8, 2012, 14:25 UTC
- Message-ID
- <vpqsje5rid7.fsf@bauges.imag.fr>
- In-Reply-To
- <20120608160341.Horde.IGByfXwdC4BP0gY9a0fV0PA@webmail.minatec.grenoble-inp.fr>
konglu@minatec.inpg.fr writes:
Show 10 quoted lines
> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> 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/