shithub: libgit

ref: 073882f6a2a8c065375b94dc77c59eb7d8b2091f
dir: /git.h/

View raw version
#pragma lib "libgit.a"
#pragma src "/sys/src/libgit"

/* initialize git system */
int initgit(char* dir);

/* git commands. files must be relative within repository. The last
   name must be nil. */
int gitcommit(char *msg, char* file, ...);
int gitadd(char* file, ...);
int gitrm(char* file, ...);