compat / mkdtemp.con commit Merge branch 'ag/rebase-i-in-c' into js/rebase-in-c-5.5-work-with-rebase-i-in-c (5ab7e0f)
   1#include "../git-compat-util.h"
   2
   3char *gitmkdtemp(char *template)
   4{
   5        if (!*mktemp(template) || mkdir(template, 0700))
   6                return NULL;
   7        return template;
   8}