cgit: don't set vpath unless repo is set
authorJohn Keeping <john@keeping.me.uk>
Sun, 19 Feb 2017 12:02:37 +0000 (12:02 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 10 Aug 2017 14:05:07 +0000 (16:05 +0200)
commit113f4b85886bc5eb6b319fd048623b8d43b7bce0
treee82c10650e3b0b2c33d3ec955a3e44d853a5f431
parentc699866699411346c5dba406457581013f85a873
cgit: don't set vpath unless repo is set

After the previous two patches, this can be classified as a tidy up
rather than a bug fix, but I think it makes sense to group all of the
tests together before setting up the environment for the command to
execute.

Signed-off-by: John Keeping <john@keeping.me.uk>
cgit.c