From 7a949b88d7d60e0d2f166f14b8d7dd7d017d9332 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 10 Feb 2014 10:07:42 +0000 Subject: mgagit: Use the full repo name + .git suffix when informing remote side. --- deployment/mgagit/templates/git-post-receive-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deployment/mgagit/templates') diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook index 04b746cd..cf7404e2 100755 --- a/deployment/mgagit/templates/git-post-receive-hook +++ b/deployment/mgagit/templates/git-post-receive-hook @@ -185,7 +185,7 @@ if __name__ == '__main__': pass try: - req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname()) + req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname() + '.git') req.add_header('Content-Type', 'x-git/repo') fp = urllib2.urlopen(req) if (fp) -- cgit v1.2.1