add weak git integration

This commit is contained in:
2025-11-22 10:22:26 -05:00
parent fc2e477665
commit 54db089b71
9 changed files with 58 additions and 10 deletions

17
git.c Normal file
View File

@@ -0,0 +1,17 @@
/* git.c
*
* Routines for initilizing a git repository
*
* written by vx-clutch
*/
#include "git.h"
#include "edef.h"
#include <stdlib.h>
int ginit()
{
if (git) return 0;
system("git init --quiet");
return 0;
}