git grep broken in Fedora 21 update?

2015-09-03 Thread Rustad, Mark D
I just found a case where grep and git grep yield different results. Inside the ixgbe directory of the Linux kernel I did: $ grep enter_lplu *.[ch] And got the following: ixgbe_main.c: if (adapter->hw.phy.ops.enter_lplu) { ixgbe_main.c: adapter->hw.phy.ops.enter_lplu(&adapter->hw);

Re: git grep broken in Fedora 21 update?

2015-09-04 Thread Rustad, Mark D
> On Sep 4, 2015, at 7:03 AM, Jeff King wrote: > > Is it possible that git _is_ producing the hit, but it is getting eaten > by the pager or something like that? Does "git --no-pager grep > enter_lplu" produce the same results? Well what do you know. Adding --no-pager gave me the right results.