Skip to content

Commit aac1967

Browse files
mjcheethamdscho
authored andcommitted
scalar.c: add cache-local-objects task
Add the `cache-local-objects` maintenance task to the list of tasks run by the `scalar run` command. It's often easier for users to run the shorter `scalar run` command than the equivalent `git maintenance` command. Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
1 parent 7aa5615 commit aac1967

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scalar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ static int cmd_run(int argc, const char **argv)
12421242
{ "fetch", "prefetch" },
12431243
{ "loose-objects", "loose-objects" },
12441244
{ "pack-files", "incremental-repack" },
1245+
{ "cache-local-objects", "cache-local-objects" },
12451246
{ NULL, NULL }
12461247
};
12471248
struct strbuf buf = STRBUF_INIT;

0 commit comments

Comments
 (0)