Re: tig show <commit> not working anymore?
From: Jonas Fonseca <hidden>
Date: 2016-06-15 22:49:34
On Sat, Sep 18, 2010 at 01:01, Kumar Appaiah [off-list ref] wrote:
Please bear in mind that I am totally new to the code, and not a power user of git either. So please don't club me! ;-)
OK, I will give you a hug. :-)
Well, I was exploring the code a little, and I could not understand some aspects fully. First, I discovered that the following hack fixes the problem to an extent: [snip] However, I am pretty certain that that is not the intended use of opt_rev_args and ref_commit, and that they should be used in a different way. For example, tig show HEAD^^^..HEAD should show me three commits combined, but it shows me only one, since I haven't run it through rev-list or the like¸ probably.
You fix is not that far off but to fix the second issue I had to do change the function responsible for expanding %(commit). Anyway, should be fixed in 0.16.1. -- Jonas Fonseca