aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgit
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 11:10:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 11:10:53 +0300
commit2463848086e1203dfdb86bcf7300b74c84145085 (patch)
tree64cc4b5a092b0b28a6890c8fa25584ba98bfde5b /cgit
parentv2.1.0 (diff)
downloadcgitize-2463848086e1203dfdb86bcf7300b74c84145085.tar.gz
cgitize-2463848086e1203dfdb86bcf7300b74c84145085.zip
"clone_url": fix nested repository directory
Diffstat (limited to '')
-rw-r--r--cgitize/cgit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitize/cgit.py b/cgitize/cgit.py
index 7f07876..3dce468 100644
--- a/cgitize/cgit.py
+++ b/cgitize/cgit.py
@@ -18,7 +18,7 @@ class CGitServer:
def get_clone_url(self, repo):
if self.clone_url is None:
return None
- return self.clone_url.format(name=repo.name)
+ return self.clone_url.format(repo=repo.dir)
class CGitRCWriter: