]> gitweb.ps.run Git - ps-cgit/commit
ui-snapshot.c: specify archiver_args.baselen
authorLars Hjemli <hjemli@gmail.com>
Sun, 5 Oct 2008 11:13:03 +0000 (13:13 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 5 Oct 2008 11:13:03 +0000 (13:13 +0200)
commit204669ff4a4028a82cc48e9319632595ba3ff703
treeb951f29e966e13fb62f9edfdf51cbdfb19e9c868
parentf82b19407dd876e6c02a572615bf34b09f6fa831
ui-snapshot.c: specify archiver_args.baselen

The struct member was introduces in git commit d53fe8187c38, but the cgit
testsuite failed to detect that cgit always generated archives without
prefixes, i.e. the result from cgit_repobasename was ignored.

This fixes the bug and the testsuite.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/t0107-snapshot.sh
ui-snapshot.c