]> git.ipfire.org Git - thirdparty/git.git/commit
instaweb: fix ip binding for the python http.server
authorAlecs King <alecsk@gmail.com>
Fri, 10 Jan 2025 10:13:46 +0000 (18:13 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jan 2025 23:27:52 +0000 (15:27 -0800)
commit76baf97fa13c4109c335180b121140c8ba1bf97b
treedafab3778479b105d8f9a7f480bc163a2909c870
parentfbe8d3079d4a96aeb4e4529cc93cc0043b759a05
instaweb: fix ip binding for the python http.server

`git instaweb -d python` should bind the server to 0.0.0.0, while
`git instaweb -d python -l` should bind the server to 127.0.0.1.

The code had them backwards by mistake since 2eb14bb2d4
(git-instaweb: add Python builtin http.server support, 2019-01-28).

Signed-off-by: Alecs King <alecsk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh