diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-02 11:10:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-02 11:10:53 +0300 |
commit | 2463848086e1203dfdb86bcf7300b74c84145085 (patch) | |
tree | 64cc4b5a092b0b28a6890c8fa25584ba98bfde5b /cgit | |
parent | v2.1.0 (diff) | |
download | cgitize-2463848086e1203dfdb86bcf7300b74c84145085.tar.gz cgitize-2463848086e1203dfdb86bcf7300b74c84145085.zip |
"clone_url": fix nested repository directory
Diffstat (limited to '')
-rw-r--r-- | cgitize/cgit.py | 2 |
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: |