On Fri, Sep 04, 2015 at 12:04:38AM +, Rustad, Mark D wrote:
> You can see that git grep missed the line in ixgbe_x550.c that had two hits
> on the string.
>
> This was with git 2.1.0 in Fedora 21. I use git grep a lot and never
> noticed a problem before. I just updated my Fedora 21 system
Jacob Keller venit, vidit, dixit 04.09.2015 06:55:
> On Thu, Sep 3, 2015 at 5:04 PM, Rustad, Mark D
> wrote:
>> 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]
> 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
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(>hw);
On Thu, Sep 3, 2015 at 5:04 PM, Rustad, Mark D wrote:
> 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
5 matches
Mail list logo