summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:17:17 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:17:17 +0900
commitf76897b6ce9964a25f4c85f9fb034cba9dd71573 (patch)
tree193c73ef29e1297d98be2e91db08a7fc36117d87 /builtin/am.c
parent622dd8bf8107ff66e0b6ae9d55caa09dae853bfb (diff)
downloadgit-f76897b6ce9964a25f4c85f9fb034cba9dd71573.tar.gz
git-f76897b6ce9964a25f4c85f9fb034cba9dd71573.tar.bz2
git-f76897b6ce9964a25f4c85f9fb034cba9dd71573.zip
Imported Upstream version 2.27.0upstream/2.27.0
Diffstat (limited to 'builtin/am.c')
-rw-r--r--builtin/am.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/am.c b/builtin/am.c
index e3dfd93c..69e50de0 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -1691,7 +1691,6 @@ static int do_interactive(struct am_state *state)
*/
static void am_run(struct am_state *state, int resume)
{
- const char *argv_gc_auto[] = {"gc", "--auto", NULL};
struct strbuf sb = STRBUF_INIT;
unlink(am_path(state, "dirtyindex"));
@@ -1796,7 +1795,7 @@ next:
if (!state->rebasing) {
am_destroy(state);
close_object_store(the_repository->objects);
- run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
+ run_auto_gc(state->quiet);
}
}