| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c34a466 commit 4dfd480
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -559,6 +559,9 @@ class Remote(LazyMixin, IterableObj): | |||
| 559 | 559 | "--exec", | |
| 560 | 560 | ] | |
| 561 | 561 | ||
| 562 | + url: str # Obtained dynamically from _config_reader. See __getattr__ below. | ||
| 563 | + """The URL configured for the remote.""" | ||
| 564 | + | ||
| 562 | 565 | def __init__(self, repo: "Repo", name: str) -> None: | |
| 563 | 566 | """Initialize a remote instance. | |
| 564 | 567 | ||
@@ -570,7 +573,6 @@ def __init__(self, repo: "Repo", name: str) -> None: | |||
| 570 | 573 | """ | |
| 571 | 574 | self.repo = repo | |
| 572 | 575 | self.name = name | |
| 573 | - self.url: str | ||
| 574 | 576 | ||
| 575 | 577 | def __getattr__(self, attr: str) -> Any: | |
| 576 | 578 | """Allows to call this instance like ``remote.special(*args, **kwargs)`` to | |
| Back | FazBrowse Home | New Git URL |
0 commit comments