diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-12-09 05:10:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-09 13:36:42 -0800 |
commit | 1e6ed5441a61b5085978e0429691e2e2425f6846 (patch) | |
tree | 3acc778854d212121450fd6c67808043454feb63 /notes.c | |
parent | 13cdf78094a5ba2968adb90707d27b98f53db1f7 (diff) | |
download | git-1e6ed5441a61b5085978e0429691e2e2425f6846.tar.gz |
notes: rename to load_display_notes()
According to the function comment, init_display_notes() was supposed to
"Load the notes machinery for displaying several notes trees." Rename
this function to load_display_notes() so that its use is more accurately
represented.
This is done because, in a future commit, we will reuse the name
init_display_notes().
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
-rw-r--r-- | notes.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1039,7 +1039,7 @@ struct notes_tree **load_notes_trees(struct string_list *refs, int flags) return trees; } -void init_display_notes(struct display_notes_opt *opt) +void load_display_notes(struct display_notes_opt *opt) { char *display_ref_env; int load_config_refs = 0; |