diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-21 15:07:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-21 15:07:17 -0700 |
commit | 45cbc37c5f84fadd78cccf6b2ea82a9ef251cdc6 (patch) | |
tree | 279382ccc172caff7ccd76eb2f0743619063597f /git-compat-util.h | |
parent | Merge branch 'sb/submodule-config-parse-ignore-fix' (diff) | |
parent | index-pack: make pointer-alias fallbacks safer (diff) | |
download | tgif-45cbc37c5f84fadd78cccf6b2ea82a9ef251cdc6.tar.xz |
Merge branch 'jk/pack-name-cleanups'
Code clean-up.
* jk/pack-name-cleanups:
index-pack: make pointer-alias fallbacks safer
replace snprintf with odb_pack_name()
odb_pack_keep(): stop generating keepfile name
sha1_file.c: make pack-name helper globally accessible
move odb_* declarations out of git-compat-util.h
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index e626851fe9..8a4a3f85e7 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -798,8 +798,6 @@ extern FILE *xfopen(const char *path, const char *mode); extern FILE *xfdopen(int fd, const char *mode); extern int xmkstemp(char *template); extern int xmkstemp_mode(char *template, int mode); -extern int odb_mkstemp(char *template, size_t limit, const char *pattern); -extern int odb_pack_keep(char *name, size_t namesz, const unsigned char *sha1); extern char *xgetcwd(void); extern FILE *fopen_for_writing(const char *path); |