Staging
v0.5.1
https://github.com/git/git
Revision a2558fb8e1e387b630312311e1d22c95663da5d0 authored by Junio C Hamano on 28 September 2015, 22:29:54 UTC, committed by Junio C Hamano on 28 September 2015, 22:30:30 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6343e2f
Raw File
Tip revision: a2558fb8e1e387b630312311e1d22c95663da5d0 authored by Junio C Hamano on 28 September 2015, 22:29:54 UTC
Git 2.4.10
Tip revision: a2558fb
test-mktemp.c
/*
 * test-mktemp.c: code to exercise the creation of temporary files
 */
#include "git-compat-util.h"

int main(int argc, char *argv[])
{
	if (argc != 2)
		usage("Expected 1 parameter defining the temporary file template");

	xmkstemp(xstrdup(argv[1]));

	return 0;
}
back to top