From: Junio C Hamano Date: Fri, 08 Jun 2012 14:57:20 GMT Subject: Re: [PATCH] Warnings before rebasing -i published history Message-ID: <7v4nqletrj.fsf@alter.siamese.dyndns.org> 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 ? Probably "[rebase] checkremoterefs" in .git/config; advice.* variables default to true by convention, and it is not suitable for a misleading "feature" like this one.