Junio C Hamano <junkio@xxxxxxx> wrote: > "Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > > > Git shouldn't cause the user to make mistakes when it can help to > > prevent them. So now users may set checkout.requireCleanDirectory > > to true in their config file to have git-checkout verify the working > > directory is clean before switching branches. [...snip...] > People with this new configuration set and has to override it > with a command line switch will lose this ability if you > overload that on '-m'. Yes. That's a problem with this patch. What about when this option is enabled then -m means do what we did before, and -m -m (or -mm, or -m2) does what -m does when the option is false? -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html