Re: [PATCH 5/6] Document a bunch of functions defined in sha1_file.c
Show 11 quoted lines
> -/*
> - * NOTE! This returns a statically allocated buffer, so you have to be
> - * careful about using it. Do an "xstrdup()" if you need to save the
> - * filename.
> - *
> - * Also note that this returns the location for creating. Reading
> - * SHA1 file can happen from any alternate directory listed in the
> - * DB_ENVIRONMENT environment variable if it is not found in
> - * the primary object database.
> - */
> const char *sha1_file_name(const unsigned char *sha1)
--
Jakub Narębski