Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: The line range (-L) doesn't work with the follow option
As introduce in git/git@39664cb the `-L` and `--follow` options don't work together. This commit addresses this by only use one or the other based on the presence of the start/end line options being passed in. This fixes up the `fatal: -L<range>:<file> cannot be used with pathspec` error, as well as broken specs.
- Loading branch information