From: Ævar Arnfjörð Bjarmason Date: Sat, 27 May 2017 09:54:07 GMT Subject: Re: [RFC/PATCH] recognize pathspec magic without "--" disambiguation Message-ID: In-Reply-To: <20170525152739.t63dbsq2dojy2y2h@sigill.intra.peff.net> On Thu, May 25, 2017 at 5:27 PM, Jeff King wrote: > git log :/foo.*bar Another option would be to deprecate the :/rx syntax over some period in favor of ^{/rx}. I think it's too ugly to live, and really useless. It's equivalent to "--grep= --all". Does anyone use this and not really mean to use ^{/rx}? E.g. "git show :/fix" might show a fix on some unrelated branch you recently rebased. > will be treated as a pathspec (if it doesn't match a > commit message) due to the wildcard matching in > 28fcc0b71. So it might DWYM after hanging there looking at your entire history for a commit message matching foo.*bar? And if you make such a commit it'll start meaning something else entirely?