Merge branch 'cb/uname-in-untracked'
[gitweb.git] / builtin / gc.c
index 36fe33300f644fc9c7e5139b452a9703548ba2a2..4957c3903293c2d4262f49c01188973bd3e53aa2 100644 (file)
@@ -293,7 +293,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
        argv_array_pushl(&reflog, "reflog", "expire", "--all", NULL);
        argv_array_pushl(&repack, "repack", "-d", "-l", NULL);
        argv_array_pushl(&prune, "prune", "--expire", NULL);
-       argv_array_pushl(&prune_worktrees, "prune", "--worktrees", "--expire", NULL);
+       argv_array_pushl(&prune_worktrees, "worktree", "prune", "--expire", NULL);
        argv_array_pushl(&rerere, "rerere", "gc", NULL);
 
        gc_config();