summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-06-03 00:50:05 -0700
committerJunio C Hamano <gitster@pobox.com>2009-06-03 00:50:05 -0700
commitb11cf09043f18b368ec0d988f064ea21247c843d (patch)
tree864a5086870ab9f5e48b3f6e2d5fa1264e9f074a /cache.h
parentceff8e7adeed51024491deb4933f23db760e5641 (diff)
parent003b33a8ad686ee4a0d0b36635bfd6aba940b24a (diff)
downloadgit-b11cf09043f18b368ec0d988f064ea21247c843d.tar.gz
Merge branch 'da/pretty-tempname'
* da/pretty-tempname: diff: generate pretty filenames in prep_temp_blob() compat: add a basename() compatibility function compat: add a mkstemps() compatibility function Conflicts: Makefile
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index b8503ad91c..871c9844e8 100644
--- a/cache.h
+++ b/cache.h
@@ -614,6 +614,8 @@ extern int is_empty_blob_sha1(const unsigned char *sha1);
int git_mkstemp(char *path, size_t n, const char *template);
+int git_mkstemps(char *path, size_t n, const char *template, int suffix_len);
+
/*
* NOTE NOTE NOTE!!
*