[PATCH] Fix git-merge-cache -q

I'm totally stupid and got it backwards, sorry about that.
git-merge-cache -q would mean it's noisy and quiet without any
parameters.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Petr Baudis
2005-08-05 00:31:12 +02:00
committed by Junio C Hamano
parent b50abe8843
commit b32e986cd7

View File

@ -30,7 +30,7 @@ static void run_program(void)
if (one_shot) { if (one_shot) {
err++; err++;
} else { } else {
if (quiet) if (!quiet)
die("merge program failed"); die("merge program failed");
exit(1); exit(1);
} }
@ -129,7 +129,7 @@ int main(int argc, char **argv)
} }
merge_file(arg); merge_file(arg);
} }
if (err && quiet) if (err && !quiet)
die("merge program failed"); die("merge program failed");
return err; return err;
} }