| 615 | } |
| 616 | |
| 617 | static int cmd_list(int argc, const char **argv UNUSED) |
| 618 | { |
| 619 | if (argc != 1) |
| 620 | die(_("`scalar list` does not take arguments")); |
| 621 | |
| 622 | if (run_git("config", "--global", "--get-all", "scalar.repo", NULL) < 0) |
| 623 | return -1; |
| 624 | return 0; |
| 625 | } |
| 626 | |
| 627 | static int cmd_register(int argc, const char **argv) |
| 628 | { |