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

Re: [feature request] gitweb: tags in history

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 21, 2010, 17:21 UTC
Message-ID
<201008211921.22495.jnareb@gmail.com>
In-Reply-To
<AANLkTi=JHzQm4hm-nuTyZq2CL_2z785KtMvVcmaqtgyF@mail.gmail.com>
Lars Hjemli wrote:
Show 21 quoted lines
> On Sat, Aug 21, 2010 at 11:15, Jean Delvare <khali@linux-fr.org> wrote:
>> On Sat, 21 Aug 2010 01:22:05 -0700 (PDT), Jakub Narebski wrote:
>>> Jean Delvare <khali@linux-fr.org> writes:
>>>
>>>> I have a feature request for gitweb. In the history view, I would like
>>>> to be (optionally) able to see the tags, interlaced with the actual
>>>> commits. The idea is to get an immediate view of all commits that
>>>> happened between specific tags.
>>>>
> ....
>>
>> But shortlog is a repository-wide view, while I need the same for
>> history which is a file-specific view.
> 
> <shameless plug>
> With cgit, you can answer such questions by combining path limiting
> and range queries, e.g.
> http://hjemli.net/git/cgit/log/scan-tree.c?qt=range&q=v0.8.2..v0.8.3
> shows all commits affecting scan-tree.c between v0.8.2 and v0.8.3.
> Maybe gitweb could implement something similar?
> </shameless plug>

Gitweb also supports range limiting in log-like views from some time, but currently there is no UI for that, and you have to handcraft the URL, e.g.:

  http://gitweb.example.com/repo.git?a=history;f=foo.c;hpb=v0.8.2;hb=v0.8.3
or (in the path_info form)
    http://gitweb.example.com/repo.git/history/v0.8.2..v0.8.3:/foo.c
-- 
Jakub Narebski
Poland
Previous: Lars HjemliNext: Lars Hjemli
Message 6 of 9 in “[feature request] gitweb: tags in history”
  1. Jean DelvareAug 21, 2010
  2. Jakub NarebskiAug 21, 2010
  3. Jean DelvareAug 21, 2010
  4. Jakub NarebskiAug 21, 2010
  5. Lars HjemliAug 21, 2010
  6. Jakub NarebskiAug 21, 2010
  7. Lars HjemliAug 21, 2010
  8. Jean DelvareAug 21, 2010
  9. Lars HjemliAug 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.