| 892 | } |
| 893 | |
| 894 | static int disc_git(const char *dir, const char *args) { |
| 895 | char cmd[1024]; |
| 896 | snprintf(cmd, sizeof(cmd), |
| 897 | "git -C \"%s\" -c user.name=t -c user.email=t@t.io -c init.defaultBranch=master %s", |
| 898 | dir, args); |
| 899 | return system(cmd); |
| 900 | } |
| 901 | |
| 902 | static bool disc_has(const cbm_file_info_t *files, int count, const char *rel_path) { |
| 903 | for (int i = 0; i < count; i++) { |