mingw: safe-guard a bit more against getenv() problems
[git.git] / contrib / svn-fe / svn-fe.c
blobf363505abb278f89a94413874099e0e80ee8192c
1 /*
2 * This file is in the public domain.
3 * You may freely use, modify, distribute, and relicense it.
4 */
6 #include <stdlib.h>
7 #include "svndump.h"
9 int main(int argc, char **argv)
11 if (svndump_init(NULL))
12 return 1;
13 svndump_read((argc > 1) ? argv[1] : NULL, "refs/heads/master",
14 "refs/notes/svn/revs");
15 svndump_deinit();
16 svndump_reset();
17 return 0;