Run "git -C "; direct git invocation (no shell builtins) so it * works under both POSIX shells and cmd.exe. Returns the command exit status. */
| 1836 | /* Run "git -C <dir> <args>"; direct git invocation (no shell builtins) so it |
| 1837 | * works under both POSIX shells and cmd.exe. Returns the command exit status. */ |
| 1838 | static int run_git(const char *dir, const char *args) { |
| 1839 | char cmd[1024]; |
| 1840 | snprintf(cmd, sizeof(cmd), "git -C \"%s\" %s", dir, args); |
| 1841 | return system(cmd); |
| 1842 | } |
| 1843 | |
| 1844 | /* FILE_CHANGES_WITH — git co-change coupling: two files that change together |
| 1845 | * across >=3 commits (coupling >= 0.3). The standard harness indexes a plain |