From: Junio C Hamano Date: Wed, 14 Jan 2009 22:27:03 GMT Subject: Re: [PATCH 3/3] implement pattern matching in ce_path_match Message-ID: <7vvdshzfpk.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20090114192341.GA26703@localhost> Clemens Buchacher writes: > I think we could at least add an option to disable globbing. Then we can > also disable the above check conditioned on that. If we allowed globbing > pattern for following renames wouldn't that result in following the first > file (or last in history) to match the pattern, which is potentially > confusing? Yeah, I agree that would be a reasonable thing to do. In places we read paths from the index or from the work tree and add them as pathspec elements---you would want to mark them as non-globbing, too. Which probably means that "is it Ok to glob this" setting has to be per pathspec array elements.