From: Matthieu Moy Date: Fri, 08 Jun 2012 14:25:08 GMT Subject: Re: [PATCH] Warnings before rebasing -i published history Message-ID: In-Reply-To: <20120608160341.Horde.IGByfXwdC4BP0gY9a0fV0PA@webmail.minatec.grenoble-inp.fr> konglu@minatec.inpg.fr writes: > Matthieu Moy 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/