vendor/libgit2/src/win32/findfile.c in rugged-0.24.0b3 vs vendor/libgit2/src/win32/findfile.c in rugged-0.24.0b4
- old
+ new
@@ -213,5 +213,15 @@
NULL,
};
return win32_find_existing_dirs(out, global_tmpls);
}
+
+int git_win32__find_programdata_dirs(git_buf *out)
+{
+ static const wchar_t *programdata_tmpls[2] = {
+ L"%PROGRAMDATA%\\Git",
+ NULL,
+ };
+
+ return win32_find_existing_dirs(out, programdata_tmpls);
+}