mirror of
https://github.com/git/git.git
synced 2026-04-12 09:50:07 +02:00
[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:
committed by
Junio C Hamano
parent
b50abe8843
commit
b32e986cd7
@@ -30,7 +30,7 @@ static void run_program(void)
|
||||
if (one_shot) {
|
||||
err++;
|
||||
} else {
|
||||
if (quiet)
|
||||
if (!quiet)
|
||||
die("merge program failed");
|
||||
exit(1);
|
||||
}
|
||||
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
merge_file(arg);
|
||||
}
|
||||
if (err && quiet)
|
||||
if (err && !quiet)
|
||||
die("merge program failed");
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user