Skip to contentSkip to conversation

tig: bug when binding to 'generic'?

DISCUSSION Wolfram Sang 5 participants 6 messages May 2, 2020 – May 4, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

here is a minimal, problematic .tigrc:

===
bind generic F !echo "Hello World!"
===

This works for most views, but not for 'main' where it still toggles the refs. Adding a specific 'main' binding works:

===
bind main F !echo "Hello World!"
===

It also works if I bind the 'generic' command to an unused key, e.g. '4'.

Discovered with Debian's 2.4.1, but confirmed against HEAD of today.

A bug?

Thanks,

Wolfram

#1 lore raw
Quoted 17 lines · Wolfram Sang

Hi,

here is a minimal, problematic .tigrc:

===
bind generic F !echo "Hello World!"
===

This works for most views, but not for 'main' where it still toggles the refs. Adding a specific 'main' binding works:

===
bind main F !echo "Hello World!"
===

It also works if I bind the 'generic' command to an unused key, e.g. '4'.

Quoted 8 lines

Discovered with Debian's 2.4.1, but confirmed against HEAD of today.

A bug?

Thanks,

Wolfram

Hello Wolfram,

Tig is a third-party interface, not maintained by git. You can report issues for tig on [github][0]

Kind regards, Kevin

[0]:https://github.com/jonas/tig/issues

#2 lore raw

Hi Kevin,

Quoted 2 lines

Tig is a third-party interface, not maintained by git. You can report issues for tig on [github][0]

I know it is third-party. Seems the README in tig needs fixing, too:

===
Bugs and feature requests can be reported using the issue tracker or by mail to either the Git mailing list or directly to the maintainer. ==

I prefer the mail option, so I wrote here and CCed the maintainers.

Kind regards,

Wolfram

#3 lore raw
Quoted 5 lines · Wolfram Sang

Hi Kevin,

Quoted 2 lines

Tig is a third-party interface, not maintained by git. You can report issues for tig on [github][0]

Quoted 8 lines

I know it is third-party. Seems the README in tig needs fixing, too:

===
Bugs and feature requests can be reported using the issue tracker or by mail to either the Git mailing list or directly to the maintainer. ==

I prefer the mail option, so I wrote here and CCed the maintainers.

Thanks for clarifying. I was a little confused when I read your patch series, since on first blush I thought that you were submitting it to be applied in Git's integration branches, and not Tig's.

In either case, the heads-up is appreciated, but I do not think necessary in general. I am not sure about the feelings of others, but I do not think Tig-specific bugs need to be reported on Git's mailing list.

Of course, if there are Git bugs that affect Tig (or any other project), we would be interested in hearing about them.

That's all to say that I think the README there should be updated.

Quoted 4 lines

Kind regards,

Wolfram

Thanks,
Taylor

#4 lore raw
Quoted 9 lines · Taylor Blau

Thanks for clarifying. I was a little confused when I read your patch series, since on first blush I thought that you were submitting it to be applied in Git's integration branches, and not Tig's.

In either case, the heads-up is appreciated, but I do not think necessary in general. I am not sure about the feelings of others, but I do not think Tig-specific bugs need to be reported on Git's mailing list.

Quoted 4 lines

Of course, if there are Git bugs that affect Tig (or any other project), we would be interested in hearing about them.

That's all to say that I think the README there should be updated.

FWIW, I do not mind seeing tig related improvements discussed here (I am assuming tig does not have its own development list). That is how we've been operating with other "projects around Git", like "imerge" and "tbdiff" (no need to look for the latter these days, though).

Unless Jonas and others who are involved find the list traffic here is too heavy and messages about tig will be drowned in here, I do not see a reason to kick them out.

#5 lore raw
Quoted 14 lines · Junio C Hamano
Quoted 12 lines · Taylor Blau

Thanks for clarifying. I was a little confused when I read your patch series, since on first blush I thought that you were submitting it to be applied in Git's integration branches, and not Tig's.

In either case, the heads-up is appreciated, but I do not think necessary in general. I am not sure about the feelings of others, but I do not think Tig-specific bugs need to be reported on Git's mailing list.

Of course, if there are Git bugs that affect Tig (or any other project), we would be interested in hearing about them.

Quoted 7 lines
Quoted 1 line

That's all to say that I think the README there should be updated.

FWIW, I do not mind seeing tig related improvements discussed here (I am assuming tig does not have its own development list). That is how we've been operating with other "projects around Git", like "imerge" and "tbdiff" (no need to look for the latter these days, though).

Ah, fair enough: I do remember seeing an imerge query on the list a couple of days (weeks?) ago.

Quoted 3 lines

Unless Jonas and others who are involved find the list traffic here is too heavy and messages about tig will be drowned in here, I do not see a reason to kick them out.

OK, that sounds good (it wasn't really up to me anyway, but I'm glad that I know how you feel about the matter ;)).

Thanks,
Taylor