提交 b32e986c 编写于 作者: P Petr Baudis 提交者: Junio C Hamano

[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: NPetr Baudis <pasky@ucw.cz>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 b50abe88
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册