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

[RFC PATCH] gitweb.perl: tags snapshot link

From
WSWOLfgang Schricker <news@wols.org>
Date
Sep 3, 2010, 11:42 UTC
Message-ID
<i5qmuo$ice$1@dough.gmane.org>
Hello,
I missed a snapshot link in my local repo:
====
tags
====
	tag | commit | shortlog | log | *snapshot*
I found this threads

<http://kerneltrap.org/mailarchive/git/2009/11/8/15785/thread> <http://thread.gmane.org/gmane.comp.version-control.git/132366>

and the code for "Smarter snapshot names" in 'gitwep.perl'.
My gitweb.perl-1.7.2.2.patch for "activating":

--- gitweb.perl.orig 2010-08-20 01:44:47.000000000 +0200 +++ gitweb.perl 2010-09-03 13:20:40.000000000 +0200

@@ -4909,6 +4909,10 @@
 		} elsif ($tag{'reftype'} eq "blob") {
 			print " | " . $cgi->a({-href => href(action=>"blob_plain", hash=>$tag{'refid'})}, "raw");
 		}
+        my $snapshot_links = format_snapshot_links($tag{'fullname'});
+        if (defined $snapshot_links) {
+            print " | " . $snapshot_links;
+        }
 		print "</td>\n" .
 		      "</tr>";
 	}
-- 
Regards
*WOL* fgang *S* chricker
Next: Giuseppe Bilotta
Message 1 of 3 in “gitweb.perl: tags snapshot link”
  1. gitweb.perl: tags snapshot linkWOLfgang Schricker, Sep 3, 2010
  2. Giuseppe BilottaSep 12, 2010
  3. WOLfgang SchrickerSep 14, 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.