diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-04-03 12:38:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-03 12:38:47 -0700 |
commit | 8815d8aa7ccab3798fa5513821ab110c209b0ae7 (patch) | |
tree | 2f60257a462e3a3548a8363dd431b1b40ba8e856 /git-compat-util.h | |
parent | 7b6bc4d8350029fed82824a33ea9039f22788eec (diff) | |
parent | 8640d496823b0aa1d35523b98d8b3f21b54004cd (diff) | |
download | git-8815d8aa7ccab3798fa5513821ab110c209b0ae7.tar.gz |
Merge branch 'nd/gc-aggressive'
Allow tweaking the maximum length of the delta-chain produced by
"gc --aggressive".
* nd/gc-aggressive:
environment.c: fix constness for odb_pack_keep()
gc --aggressive: make --depth configurable
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 892032bc79..9158ed634a 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -536,7 +536,7 @@ 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, unsigned char *sha1); +extern int odb_pack_keep(char *name, size_t namesz, const unsigned char *sha1); static inline size_t xsize_t(off_t len) { |