Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Documentation: move RelNotes into a directory of their own

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:30

Jonathan Nieder [off-list ref] writes:
Nicolas Pitre wrote:
...
quoted
 .../{RelNotes-1.5.0.1.txt => RelNotes/1.5.0.1.txt} |    0
 .../{RelNotes-1.5.0.2.txt => RelNotes/1.5.0.2.txt} |    0
[...]

Junio: Because of

	for th in \
		"$T"/*.html "$T"/*.txt \
		"$T"/howto/*.txt "$T"/howto/*.html \
		"$T"/technical/*.txt "$T"/technical/*.html
	do
		h=`expr "$th" : "$strip_leading"'\(.*\)'`
		case "$h" in
		index.html) continue ;;
		esac
		test -f "$h" && continue
		echo >&2 "# rm -f $th"
		rm -f "$th"
	done

this would invalidate old URLs like

	http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.3.txt

, no?  Is there some easy way to set up the appropriate HTTP 301
responses?
True, I failed to spot that one.  Although I noticed that Nico didn't
touch the RelNotes symlink at the top ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help