]> granicus.if.org Git - cgit/commit
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)
committerLukas Fleischer <lfleischer@lfos.de>
Thu, 10 Aug 2017 13:15:57 +0000 (15:15 +0200)
commit7d9b5590f4ffbc5d8a6fe30e3e9715ad4b5ca7bd
tree9a97912cb9d0e481a93bbf504a7ee966bfdf0fac
parentc0d2423f07099366815856500faec3a69db1701a
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