Skip to content

Commit e0f9095

Browse files
Denton-Lgitster
authored andcommitted
notes.h: fix typos in comment
In 1d72975 (notes: break set_display_notes() into smaller functions, 2019-12-11), we introduced a comment which had a couple of typos. In the first typo, we referenced 'enable_default_display_notes' instead of 'enable_ref_display_notes'. In the second typo, we wrote "is a points to" instead of "is a pointer to". Correct both of these typos. Reported-by: Eric Sunshine <[email protected]> Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1d72975 commit e0f9095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ void init_display_notes(struct display_notes_opt *opt);
268268
/*
269269
* This family of functions enables or disables the display of notes. In
270270
* particular, 'enable_default_display_notes' will display the default notes,
271-
* 'enable_default_display_notes' will display the notes ref 'ref' and
271+
* 'enable_ref_display_notes' will display the notes ref 'ref' and
272272
* 'disable_display_notes' will disable notes, including those added by previous
273273
* invocations of the 'enable_*_display_notes' functions.
274274
*
275-
* 'show_notes' is a points to a boolean which will be set to 1 if notes are
275+
* 'show_notes' is a pointer to a boolean which will be set to 1 if notes are
276276
* displayed, else 0. It must not be NULL.
277277
*/
278278
void enable_default_display_notes(struct display_notes_opt *opt, int *show_notes);

0 commit comments

Comments
 (0)