*/
#include "cgit.h"
+#include "scan-tree.h"
#include "configfile.h"
#include "html.h"
return;
if (base == path)
- rel = xstrdup(fmt("%s", path));
+ rel = xstrdup(path);
else
- rel = xstrdup(fmt("%s", path + strlen(base) + 1));
+ rel = xstrdup(path + strlen(base) + 1);
if (!strcmp(rel + strlen(rel) - 5, "/.git"))
rel[strlen(rel) - 5] = '\0';