Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/unit-tests/clar/test/main.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / unit-tests / clar / test / main.c` 25 lines ยท 443 bytes Raw Blame History 1 #include 2 #include 3 4 #include "selftest.h" 5 6 const char *selftest_suite_directory; 7 8 #ifdef _WIN32 9 int __cdecl main(int argc, char *argv[]) 10 #else 11 int main(int argc, char *argv[]) 12 #endif 13 { 14 if (argc < 2) { 15 fprintf(stderr, "usage: %s \n", 16 argv[0]); 17 exit(1); 18 } 19 20 selftest_suite_directory = argv[1]; 21 memmove(argv + 1, argv + 2, argc - 1); 22 argc -= 1; 23 24 return clar_test(argc, argv); 25 }