test: Make git-daemon only listen on localhost · gitpython-developers/GitPython@bccdb48 · GitHub
Skip to content

Commit bccdb48

Browse files
committed
test: Make git-daemon only listen on localhost
No reason to expose a daemon to all interfaces when it is only used for tests, which connect to localhost anyway. I'd love to use localhost here instead, but the git-daemon man page points out: If IPv6 is not supported, then --listen=hostname is also not supported and --listen must be given an IPv4 address. I don't know of a way to check if git has ipv6 support, but 127.0.0.1 should be around for the foreseeable future
1 parent 5fe80b0 commit bccdb48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git/test/lib/helper.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)