From 09a5334f28c853530ab6a70e11929e9a0f2aca45 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 1 Oct 2026 17:27:43 -1000 Subject: Walk a path on the blob page from any commit the id names With both an id and a path the blob page handed back the raw object the id named, so a commit id gave the commit text itself, while the plain page looked the path up in that commit's tree. A tag is peeled to its commit on the way, and the README example of a pinned commit now uses a form the request checks accept. --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 5582164..d2eefea 100644 --- a/README.txt +++ b/README.txt @@ -192,7 +192,7 @@ Some worked examples, in the url= form. ?url=demo/log&h=next log of the next branch ?url=demo/log&qt=author&q=alice commits authored by alice ?url=demo/tree/src&h=v1.0 the src directory at tag v1.0 - ?url=demo/commit&id=HEAD~3 one commit, pinned + ?url=demo/commit&id=v1.0 one commit, pinned to a tag ?url=demo/diff&id=main&id2=next diff between two branches ?url=demo/plain/README.md the raw bytes of one file ?url=demo/atom&h=main the commit feed for a branch -- cgit v2.8.0