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

[PATCH] install-webdoc: keep installed RelNotes-*.txt

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 10, 2010, 00:00 UTC
Message-ID
<7vbp86lb75.fsf_-_@alter.siamese.dyndns.org>
In-Reply-To
<7vzkvup3l3.fsf@alter.siamese.dyndns.org>

Otherwise URLs in the wild that point at older release notes will become dangling.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
Show 7 quoted lines
> Jonathan Nieder <jrnieder@gmail.com> writes:
>
>> this would invalidate old URLs like
>>
>> 	http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.3.txt
>>
>> , no?
  Perhaps grandfathering the old URLs with a patch like this may be
  sufficient.
 Documentation/install-webdoc.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/install-webdoc.sh b/Documentation/install-webdoc.sh
index e5c1cbe..76d69a9 100755
--- a/Documentation/install-webdoc.sh
+++ b/Documentation/install-webdoc.sh
@@ -30,7 +30,7 @@ for th in \
 do
 	h=`expr "$th" : "$strip_leading"'\(.*\)'`
 	case "$h" in
-	index.html) continue ;;
+	RelNotes-*.txt | index.html) continue ;;
 	esac
 	test -f "$h" && continue
 	echo >&2 "# rm -f $th"
-- 
1.7.3.rc0.183.gb0497
Previous: Junio C Hamano
Message 4 of 4 in “Documentation: move RelNotes into a directory of their own”
  1. Documentation: move RelNotes into a directory of their ownNicolas Pitre, Sep 7, 2010
  2. Jonathan NiederSep 7, 2010
  3. Junio C HamanoSep 7, 2010
  4. install-webdoc: keep installed RelNotes-*.txtJunio C Hamano, Sep 10, 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.