git-heatmap icon indicating copy to clipboard operation
git-heatmap copied to clipboard

grepping by directory path yields no files.

Open AndrewSouthpaw opened this issue 1 year ago • 0 comments

I get an error of "no data" when running grep to match against a path name:

$ git heatmap -b main --filter 'grep "src"'
No data. Provide data on stdin.

Grepping on a file name does work, which is extra strange:

$ git heatmap -b main --filter 'grep "yarn.lock"'
  yarn.lock | 154 | ██████

Looking at the code AFAICT it's passing the relative path to the filter function, so I'm confused why this isn't working.

AndrewSouthpaw avatar Mar 12 '23 17:03 AndrewSouthpaw