projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
t/test-lib: add an SHA1 prerequisite
[git]
/
compat
/
mkdtemp.c
1
#include "../git-compat-util.h"
2
3
char *gitmkdtemp(char *template)
4
{
5
if (!*mktemp(template) || mkdir(template, 0700))
6
return NULL;
7
return template;
8
}