]> Lady’s Gitweb - Gitweb/commit
gitweb: check given hash before trying to create snapshot
authorMark Rada <redacted>
Sat, 26 Sep 2009 17:46:08 +0000 (13:46 -0400)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
commited433e486ee9aa30b6685a586a09ac0a32dcf98d879ccc9ced5ed2eb6a52422f
treebfdcb595933b2824be583ae2447c3ab304eaab9c057900447ee7f97b697d5c05
parent4a7fb0bc24b3a9ff745a1faae8d8df828563cf61e603d9cffbfdbb5641844581
gitweb: check given hash before trying to create snapshot

Makes things nicer in cases when you hand craft the snapshot URL but
make a typo in defining the hash variable (e.g. netx instead of next);
you will now get an error message instead of a broken tarball.

Tests for t9501 are included to demonstrate added functionality.

Signed-off-by: Mark Rada <redacted>
Signed-off-by: Shawn O. Pearce <redacted>
gitweb.perl
This page took 0.212664 seconds and 4 git commands to generate.