tig icon indicating copy to clipboard operation
tig copied to clipboard

file-filter crashes with tig --follow

Open CervEdin opened this issue 2 years ago • 2 comments

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 avatar May 11 '23 15:05 CervEdin

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

CervEdin avatar May 11 '23 15:05 CervEdin

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

koutcher avatar May 13 '23 20:05 koutcher