compat / vcbuild / include / alloca.hon commit use xgetcwd() to set $GIT_DIR (4d3ab44)
   1#include <malloc.h>