Git fork

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>

authored by

Alecs King and committed by
Junio C Hamano
76baf97f fbe8d307

+2 -2
+2 -2
git-instaweb.sh
··· 694 694 return result 695 695 696 696 697 - bind = "127.0.0.1" 697 + bind = "0.0.0.0" 698 698 if "$local" == "true": 699 - bind = "0.0.0.0" 699 + bind = "127.0.0.1" 700 700 701 701 # Set our http root directory 702 702 # This is a work around for a missing directory argument in older Python versions