From 193b079d278e3847fce304b88603bbce5025a3f4 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 10 Oct 2016 03:45:48 +0200 Subject: Revert "trying to fix tests on travis" This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d. --- src/blogc-git-receiver/post-receive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/blogc-git-receiver/post-receive.c') diff --git a/src/blogc-git-receiver/post-receive.c b/src/blogc-git-receiver/post-receive.c index dc29fa3..79c51ac 100644 --- a/src/blogc-git-receiver/post-receive.c +++ b/src/blogc-git-receiver/post-receive.c @@ -52,8 +52,8 @@ bgr_post_receive_hook(int argc, char *argv[]) // the 'mirror' remote, just push to it. // this will be removed at some point, but will be kept for compatibility // with old setups. - if ((0 == system("git config -f config --get remote.mirror.pushurl &> /dev/null")) || - (0 == system("git config -f config --get remote.mirror.url &> /dev/null"))) + if ((0 == system("git config --local remote.mirror.pushurl &> /dev/null")) || + (0 == system("git config --local remote.mirror.url &> /dev/null"))) { mirror = bc_strdup("mirror"); goto push; -- cgit v1.2.3-18-g5258