[PATCH] Possible cleanups for local-pull.c
Hi. This patch contains the following possible cleanups: * Make some needlessly global functions in local-pull.c static * Change 'char *' to 'const char *' where appropriate Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
baeda3a749
commit
2ab141a26f
@ -487,7 +487,7 @@ struct packed_git *parse_pack_index(unsigned char *sha1)
|
||||
return parse_pack_index_file(sha1, path);
|
||||
}
|
||||
|
||||
struct packed_git *parse_pack_index_file(unsigned char *sha1, char *idx_path)
|
||||
struct packed_git *parse_pack_index_file(const unsigned char *sha1, char *idx_path)
|
||||
{
|
||||
struct packed_git *p;
|
||||
unsigned long idx_size;
|
||||
|
Reference in New Issue
Block a user