environment.c: fix constness for odb_pack_keep()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
125f81461d
commit
8640d49682
@ -237,7 +237,7 @@ int odb_mkstemp(char *template, size_t limit, const char *pattern)
|
||||
return xmkstemp_mode(template, mode);
|
||||
}
|
||||
|
||||
int odb_pack_keep(char *name, size_t namesz, unsigned char *sha1)
|
||||
int odb_pack_keep(char *name, size_t namesz, const unsigned char *sha1)
|
||||
{
|
||||
int fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user