Skip to content

Commit

Permalink
[PATCH] Fix git-merge-cache -q
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Baudis authored and Junio C Hamano committed Aug 5, 2005
1 parent b50abe8 commit b32e986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions merge-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void run_program(void)
if (one_shot) {
err++;
} else {
if (quiet)
if (!quiet)
die("merge program failed");
exit(1);
}
Expand Down Expand Up @@ -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;
}

0 comments on commit b32e986

Please sign in to comment.