archive: handle commits with an empty tree
[git/jnareb-git.git] / test-mktemp.c
blobc8c54213a3916c4adffd7396a37ed83e88af34fb
1 /*
2 * test-mktemp.c: code to exercise the creation of temporary files
3 */
4 #include "git-compat-util.h"
6 int main(int argc, char *argv[])
8 if (argc != 2)
9 usage("Expected 1 parameter defining the temporary file template");
11 xmkstemp(xstrdup(argv[1]));
13 return 0;