Skip to content

Commit 95eb365

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 <[email protected]>
1 parent 7502fb9 commit 95eb365

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
@@ -1243,6 +1243,7 @@ static int cmd_run(int argc, const char **argv)
12431243
{ "fetch", "prefetch" },
12441244
{ "loose-objects", "loose-objects" },
12451245
{ "pack-files", "incremental-repack" },
1246+
{ "cache-local-objects", "cache-local-objects" },
12461247
{ NULL, NULL }
12471248
};
12481249
struct strbuf buf = STRBUF_INIT;

0 commit comments

Comments
 (0)