diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-10 10:32:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-10 10:32:59 -0800 |
commit | 0c52457b7c6311d004d0fb1f5b7bb7d5cc6dbf4e (patch) | |
tree | 3b28497d9c90bbcd5b6e69b43ec4be855ffc4081 /daemon.c | |
parent | 666b4c2670f013bc1747f1db9b72a4b25266cec2 (diff) | |
parent | 82246b765bdfc191aa809cf3dd672de18ad6352a (diff) | |
download | git-0c52457b7c6311d004d0fb1f5b7bb7d5cc6dbf4e.tar.gz |
Merge branch 'nd/daemon-informative-errors-typofix'
* nd/daemon-informative-errors-typofix:
daemon: be strict at parsing parameters --[no-]informative-errors
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1278,11 +1278,11 @@ int main(int argc, char **argv) make_service_overridable(arg + 18, 0); continue; } - if (starts_with(arg, "--informative-errors")) { + if (!strcmp(arg, "--informative-errors")) { informative_errors = 1; continue; } - if (starts_with(arg, "--no-informative-errors")) { + if (!strcmp(arg, "--no-informative-errors")) { informative_errors = 0; continue; } |