Message ID | 20201221162743.96056-5-mirucam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Finish converting git bisect to C part 3 | expand |
diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index 896c54f869..e2e568823e 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -1085,7 +1085,7 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix) case BISECT_RESET: if (argc > 1) return error(_("--bisect-reset requires either no argument or a commit")); - return !!bisect_reset(argc ? argv[0] : NULL); + res = bisect_reset(argc ? argv[0] : NULL); break; case CHECK_AND_SET_TERMS: if (argc != 3)