projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'en/rebase-consistency'
[git]
/
t
/
helper
/
test-mktemp.c
1
/*
2
* test-mktemp.c: code to exercise the creation of temporary files
3
*/
4
#include "test-tool.h"
5
#include "git-compat-util.h"
6
7
int cmd__mktemp(int argc, const char **argv)
8
{
9
if (argc != 2)
10
usage("Expected 1 parameter defining the temporary file template");
11
12
xmkstemp(xstrdup(argv[1]));
13
14
return 0;
15
}