On Tue, Nov 26, 2013 at 3:35 AM, Junio C Hamano <gits...@pobox.com> wrote: > Phillip Susi <ps...@ubuntu.com> writes: > >> I can't seem to find a way to invert the meaning of a pathspec given >> to git log in order to find commits touching anything BUT a given >> path. Does such a thing exist? > > Not yet (look for "negative pathspec").
There's a difference between "skip commits that touch anything directory foo even if it also touches something outside of foo" and "skip commits that _only_ touches something in foo". Not sure which way Phillip wants here. Negative pathspec only supports the latter. The former needs a new option in rev-list, because the logic to consider a commit not a match if it matches a pathspec is out of tree_entry_interesting()'s control. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html