Re: Git log command doesn't run as expected.

2018-07-10 Thread Ævar Arnfjörð Bjarmason
On Tue, Jul 10, 2018 at 1:16 PM, 周应天 wrote: > Hi, > I’m using following command to do some search work: > git log --all -G 'some regexp' -p — path/to/my/file. > But the output could miss some commit. (For example, I grep a little piece of > code from a commit diff

Git log command doesn't run as expected.

2018-07-10 Thread 周应天
Hi, I’m using following command to do some search work: git log --all -G 'some regexp' -p — path/to/my/file. But the output could miss some commit. (For example, I grep a little piece of code from a commit diff message(properly handled for regexp), but when I use the command