git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jonas FonsecaNext: Kumar Appaiah
Message 11 of 13 in “tig show <commit> not working anymore?”
  1. Kumar AppaiahSep 16, 2010
  2. Stefan NaeweSep 16, 2010
  3. Kumar AppaiahSep 16, 2010
  4. Jonas FonsecaSep 16, 2010
  5. Kumar AppaiahSep 16, 2010
  6. Michael J GruberSep 16, 2010
  7. Stefan NaeweSep 16, 2010
  8. Kumar AppaiahSep 16, 2010
  9. Kumar AppaiahSep 18, 2010
  10. Jonas FonsecaSep 18, 2010
  11. Jonas FonsecaSep 19, 2010
  12. Kumar AppaiahSep 20, 2010
  13. Jonas FonsecaSep 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.