Re: tig show <commit> not working anymore?
- From
Jonas Fonseca <fonseca@diku.dk>
- Date
- Sep 19, 2010, 18:46 UTC
- Message-ID
- <AANLkTinwTSOVfdZkt8CM9DHy9mm9nPt133nvUNjUcQO1@mail.gmail.com>
- In-Reply-To
- <20100918050122.GA24656@bluemoon.alumni.iitm.ac.in>
On Sat, Sep 18, 2010 at 01:01, Kumar Appaiah <a.kumar@alumni.iitm.ac.in> 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. :-)
Show 11 quoted lines
> 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