Krolyxon
Commit 53a72c7

Branches

Refs →

nsxiv53a72c7

Fix option -q; commit d3a70a2 completely broke it; fixes issue #223

Author
Bert Münnich
Date
2015-12-28 17:00 +0100
Parent
f75fa78
Commit
53a72c7b657d9dc3347d9d68e0b9a00773efe732

+4 −1

2 files changed

  1. M Makefile +1 −1
  2. M util.c +3 −0
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION := git-20151226
1+VERSION := git-20151228
22
33 PREFIX := /usr/local
44 MANPREFIX := $(PREFIX)/share/man
M util.c View
@@ -62,6 +62,9 @@ void error(int eval, int err, const char* fmt, ...)
6262 {
6363 va_list ap;
6464
65+ if (eval == 0 && options->quiet)
66+ return;
67+
6568 fflush(stdout);
6669 fprintf(stderr, "%s: ", progname);
6770 va_start(ap, fmt);