@@ -177,12 +177,10 @@ def git_daemon_launched(base_path, ip, port):
177177 gd = None
178178 try :
179179 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.
186184 daemon_cmd = [
187185 "git-daemon" ,
188186 "--enable=receive-pack" ,
@@ -217,12 +215,11 @@ def git_daemon_launched(base_path, ip, port):
217215 )
218216 if is_win :
219217 msg += textwrap .dedent (
220- r """
218+ R """
221219
222220 On Windows,
223221 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."""
226223 )
227224 log .warning (msg , ex , ip , port , base_path , base_path , exc_info = 1 )
228225
@@ -305,7 +302,7 @@ def remote_repo_creator(self):
305302 cw .set ("url" , remote_repo_url )
306303
307304 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 ),
309306 "127.0.0.1" ,
310307 GIT_DAEMON_PORT ,
311308 ):
0 commit comments