jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.28k stars 604 forks source link

file-filter crashes with tig --follow #1283

Open CervEdin opened 1 year ago

CervEdin commented 1 year ago

Invoking tig --follow ./file and subsequently pressing % crashes with

tig: No revisions match the given arguments.

the same error as tig --follow ./non-existing.file

tig version 2.5.1 ncursesw version 6.2.20201114 readline version 8.1

CervEdin commented 1 year ago

Curiously, this is not a problem if setting log-options in tigrc

koutcher commented 1 year ago

Pressing % removes ./file from git log arguments leaving --follow which is only valid with a file argument.