The use case is actually to review the log for a tag, such as if you are on the page for a tag like http://git.zx2c4.com/cgit/tag/?id=v0.9.0.1. A link to the log for that tag would be useful (manually entering the object http://git.zx2c4.com/cgit/log/?id=v0.9.0.1 appears to work).
On Mon, Jun 17, 2013 at 2:07 PM, Lukas Fleischer <[email protected]>wrote: > On Mon, Jun 17, 2013 at 12:01:49PM -0500, Jason wrote: > > The "id" parameter is not added to the "log" links. > > > > For example if you open this commit view > http://git.zx2c4.com/cgit/commit/?id= > > 52c926cadbff5fd0aaf00ebd79619112aba46182 and look at the log link from > that > > page, you'll notice the id parameter is not retained. > > > > From a quick glance at the source code it looks like the object id > should be > > kept when generating log links. > > Is this a bug? > > No, I think that this is intentional. We skip the revision parameter in > the cgit_log_link() invocation in cgit_print_pageheader(). > > The "log" links allows for getting back to the long list of current > commits with one click. I am not sure whether there are a lot of use > cases for getting a list of commits, starting from the one that is > currently selected. > > > _______________________________________________ > > CGit mailing list > > [email protected] > > http://lists.zx2c4.com/mailman/listinfo/cgit > >
_______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
