diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-12-01 18:13:44 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-12-01 18:13:44 +0000 |
commit | 4b4f8d1256669bf9838e17f83a070de0ec09a699 (patch) | |
tree | cef7fce789b607f1c68c836976c9a1e371cbbcda /tests/t0010-validate-html.sh | |
parent | 314d9ea5a3bc60ec518e314bb0bf8072123dc08f (diff) | |
download | cgit-4b4f8d1256669bf9838e17f83a070de0ec09a699.tar cgit-4b4f8d1256669bf9838e17f83a070de0ec09a699.tar.gz cgit-4b4f8d1256669bf9838e17f83a070de0ec09a699.zip |
ui-snapshot: improve extraction of revision from snapshot name
The modified get_ref_from_filename() supports the following snapshot
formats:
* $REV.$EXT
* $REPO[-_]*v?$REV.$EXT
This implies that the following urls will retrieve the expected revision:
* http://hjemli.net/git/cgit/snapshot/v0.8.1.tar.gz
* http://hjemli.net/git/cgit/snapshot/0.8.1.tar.gz
* http://hjemli.net/git/cgit/snapshot/cgit-0.8.1.tar.gz
* http://hjemli.net/git/cgit/snapshot/cgit-140012d7a8.tar.gz
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'tests/t0010-validate-html.sh')
0 files changed, 0 insertions, 0 deletions