create_ref_entry(): remove check_name
option
Only one caller was using it, so move the check to that caller. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0a0865b8f1
commit
c1da06c6f1
@ -185,8 +185,7 @@ struct ref_entry *create_dir_entry(struct ref_cache *cache,
|
||||
int incomplete);
|
||||
|
||||
struct ref_entry *create_ref_entry(const char *refname,
|
||||
const struct object_id *oid, int flag,
|
||||
int check_name);
|
||||
const struct object_id *oid, int flag);
|
||||
|
||||
/*
|
||||
* Return a pointer to a new `ref_cache`. Its top-level starts out
|
||||
|
Reference in New Issue
Block a user