| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -119,8 +119,7 @@ executed `git fetch --tags` followed by the `./init-tests-after-clone.sh` | |||
| 119 | 119 | script in the repository root. Otherwise you will encounter test failures. | |
| 120 | 120 | ||
| 121 | 121 | On _Windows_, make sure you have `git-daemon` in your PATH. For MINGW-git, the `git-daemon.exe` | |
| 122 | - exists in `Git\mingw64\libexec\git-core\`; CYGWIN has no daemon, but should get along fine | ||
| 123 | - with MINGW's. | ||
| 122 | + exists in `Git\mingw64\libexec\git-core\`. | ||
| 124 | 123 | ||
| 125 | 124 | #### Install test dependencies | |
| 126 | 125 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -177,12 +177,10 @@ def git_daemon_launched(base_path, ip, port): | |||
| 177 | 177 | gd = None | |
| 178 | 178 | try: | |
| 179 | 179 | if is_win: | |
| 180 | - ## On MINGW-git, daemon exists in .\Git\mingw64\libexec\git-core\, | ||
| 181 | - # but if invoked as 'git daemon', it detaches from parent `git` cmd, | ||
| 182 | - # and then CANNOT DIE! | ||
| 183 | - # So, invoke it as a single command. | ||
| 184 | - ## Cygwin-git has no daemon. But it can use MINGW's. | ||
| 185 | - # | ||
| 180 | + # On MINGW-git, daemon exists in Git\mingw64\libexec\git-core\, | ||
| 181 | + # but if invoked as 'git daemon', it detaches from parent `git` cmd, | ||
| 182 | + # and then CANNOT DIE! | ||
| 183 | + # So, invoke it as a single command. | ||
| 186 | 184 | daemon_cmd = [ | |
| 187 | 185 | "git-daemon", | |
| 188 | 186 | "--enable=receive-pack", | |
@@ -217,12 +215,11 @@ def git_daemon_launched(base_path, ip, port): | |||
| 217 | 215 | ) | |
| 218 | 216 | if is_win: | |
| 219 | 217 | msg += textwrap.dedent( | |
| 220 | - r""" | ||
| 218 | + R""" | ||
| 221 | 219 | ||
| 222 | 220 | On Windows, | |
| 223 | 221 | the `git-daemon.exe` must be in PATH. | |
| 224 | - For MINGW, look into .\Git\mingw64\libexec\git-core\), but problems with paths might appear. | ||
| 225 | - CYGWIN has no daemon, but if one exists, it gets along fine (but has also paths problems).""" | ||
| 222 | + For MINGW, look into \Git\mingw64\libexec\git-core\, but problems with paths might appear.""" | ||
| 226 | 223 | ) | |
| 227 | 224 | log.warning(msg, ex, ip, port, base_path, base_path, exc_info=1) | |
| 228 | 225 | ||
@@ -305,7 +302,7 @@ def remote_repo_creator(self): | |||
| 305 | 302 | cw.set("url", remote_repo_url) | |
| 306 | 303 | ||
| 307 | 304 | with git_daemon_launched( | |
| 308 | - Git.polish_url(base_daemon_path, is_cygwin=False), # No daemon in Cygwin. | ||
| 305 | + Git.polish_url(base_daemon_path), | ||
| 309 | 306 | "127.0.0.1", | |
| 310 | 307 | GIT_DAEMON_PORT, | |
| 311 | 308 | ): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments