-
-
Notifications
You must be signed in to change notification settings - Fork 954
Ask git where its daemon is and use that #1697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
This changes the test helpers on Windows to use "git --exec-path" (with whatever "git" GitPython is using) to find the directory that contains "git-daemon.exe", instead of finding it in a PATH search.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,7 +182,7 @@ def git_daemon_launched(base_path, ip, port): | |
# and then CANNOT DIE! | ||
# So, invoke it as a single command. | ||
daemon_cmd = [ | ||
"git-daemon", | ||
osp.join(Git()._call_process("--exec-path"), "git-daemon"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm uneasy about having the test suite call the nonpublic There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's definitely a shortcoming in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the main hard part of adding such functionality is figuring out a way to do it that wouldn't be a breaking change. Most ordinary public-style method names could clash with someone's custom
Is this because only one g(c="versionsort.suffix=-pre").tag(sort="-v:refname") That runs However, I can't pass more than one g(c="versionsort.suffix=-pre")(c="versionsort.suffix=-RC").tag(sort="-v:refname") g(c="versionsort.suffix=-RC").tag(sort="-v:refname") But I'm not sure this is the problem you're thinking of, because a solution for passing
Can people just use
|
||
"--enable=receive-pack", | ||
"--listen=%s" % ip, | ||
"--port=%s" % port, | ||
|