author | Jakub Narebski <jnareb@gmail.com> | |
Thu, 23 Jun 2011 20:59:26 +0000 (22:59 +0200) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Mon, 27 Jun 2011 09:11:41 +0000 (09:11 +0000) | ||
commit | c0175f92c7da1c379c25b5a70d53b9d550bcc11d | |
tree | b95e1be86954d1b5edc8e196d71e5f5a59b5475f | tree | snapshot |
parent | 48bf76ca93c7569660712c12b3c4f86c60803352 | commit | diff |
git-instaweb: Move all actions at the end of script
As a nice side-effect now the order of parameters does not matter:
$ git instaweb --httpd=apache2 --start
is now (after this patch) the same as
$ git instaweb --start --httpd=apache2
Before this commit --start, --stop, --restart (and their subcommand
versions start, stop, restart) exited immediately.
This is preparatory work for making start/restart check that correct
configuration is set up; this change was required to have access in
start_httpd to requested web browser etc.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
As a nice side-effect now the order of parameters does not matter:
$ git instaweb --httpd=apache2 --start
is now (after this patch) the same as
$ git instaweb --start --httpd=apache2
Before this commit --start, --stop, --restart (and their subcommand
versions start, stop, restart) exited immediately.
This is preparatory work for making start/restart check that correct
configuration is set up; this change was required to have access in
start_httpd to requested web browser etc.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh | diff | blob | history |