Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f5f65d

Browse files
committed
Ask git where its daemon is and use that
This changes the test helpers on Windows to use "git --exec-path"(with whatever "git" GitPython is using) to find the directory thatcontains "git-daemon.exe", instead of finding it in a PATH search.
1 parent91f63cd commit8f5f65d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ _Important_: Right after cloning this repository, please be sure to have
118118
executed`git fetch --tags` followed by the`./init-tests-after-clone.sh`
119119
script in the repository root. Otherwise you will encounter test failures.
120120

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\`.
123-
124121
####Install test dependencies
125122

126123
Ensure testing libraries are installed. This is taken care of already if you installed with:

‎test/lib/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def git_daemon_launched(base_path, ip, port):
182182
# and then CANNOT DIE!
183183
# So, invoke it as a single command.
184184
daemon_cmd= [
185-
"git-daemon",
185+
osp.join(Git()._call_process("--exec-path"),"git-daemon"),
186186
"--enable=receive-pack",
187187
"--listen=%s"%ip,
188188
"--port=%s"%port,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp