environment: stop storing "core.notesRef" globally
Stop storing the "core.notesRef" config value globally. Instead, retrieve the value in `default_notes_ref()`. The code is never called in a hot loop anyway, so doing this on every invocation should be perfectly fine. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
11dbb4ace3
commit
1e7e4a111f
@ -203,8 +203,6 @@ enum object_creation_mode {
|
||||
};
|
||||
extern enum object_creation_mode object_creation_mode;
|
||||
|
||||
extern char *notes_ref_name;
|
||||
|
||||
extern int grafts_keep_true_parents;
|
||||
|
||||
extern int repository_format_precious_objects;
|
||||
|
Reference in New Issue
Block a user