Re: [BUG] :(attr) pathspecs can die("BUG") in the tree-walker

2017-05-09 Thread Jeff King
On Tue, May 09, 2017 at 03:52:19PM -0700, Brandon Williams wrote: > > $ git log HEAD -- ':(attr:-diff)' > > fatal: BUG:tree-walk.c:947: unsupported magic 40 > > > > Whoops. This is presumably ls-tree is protected, but I think we are > > missing a GUARD_PATHSPEC call somewhere. > > > > This

Re: [BUG] :(attr) pathspecs can die("BUG") in the tree-walker

2017-05-09 Thread Brandon Williams
On 05/09, Jeff King wrote: > I was playing with the new :(attr) pathspecs in the upcoming v2.13 > today, and noticed: > > $ git ls-files -- ':(attr:-diff)' > t/t0110/url-1 > t/t0110/url-10 > [etc] > > So far so good. > > $ git ls-tree HEAD -- ':(attr:-diff)' > fatal: :(attr:-diff):

[BUG] :(attr) pathspecs can die("BUG") in the tree-walker

2017-05-09 Thread Jeff King
I was playing with the new :(attr) pathspecs in the upcoming v2.13 today, and noticed: $ git ls-files -- ':(attr:-diff)' t/t0110/url-1 t/t0110/url-10 [etc] So far so good. $ git ls-tree HEAD -- ':(attr:-diff)' fatal: :(attr:-diff): pathspec magic not supported by this command: