Skip to content

Commit 5a738b0

Browse files
committed
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 4a802e7 commit 5a738b0

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
@@ -1174,6 +1174,7 @@ static int cmd_run(int argc, const char **argv)
11741174
{ "fetch", "prefetch" },
11751175
{ "loose-objects", "loose-objects" },
11761176
{ "pack-files", "incremental-repack" },
1177+
{ "cache-local-objects", "cache-local-objects" },
11771178
{ NULL, NULL }
11781179
};
11791180
struct strbuf buf = STRBUF_INIT;

0 commit comments

Comments
 (0)