[sysadmin-bin] .git gets dropped from repo_name on get_repo_name()
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] .git gets dropped from repo_name on get_repo_name()
- Date: Wed, 11 Jul 2018 18:04:12 +0000 (UTC)
commit 59b6b478d167a450c4cacbbd4cb0fd45b67b537c
Author: Andrea Veri <averi redhat com>
Date: Wed Jul 11 20:03:49 2018 +0200
.git gets dropped from repo_name on get_repo_name()
git/post-receive-mirror-github | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index ef86d5e..bd05225 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -161,7 +161,7 @@ def main():
description, homepage = gh.fetch_github_repo(github_name)
settings = get_repo_settings(repo_name)
- if repo_name.endswith('.wiki.git'):
+ if repo_name.endswith('.wiki'):
sys.exit(1)
if description != settings["description"]:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]