notes: correct documentation of format_display_notes()
'flags' parameter was replaced by 'raw' in commit:
76141e2e62 ("format_note(): simplify API", 2012-10-17)
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
aeb582a983
commit
d4907720a2
8
notes.h
8
notes.h
@@ -276,12 +276,10 @@ void init_display_notes(struct display_notes_opt *opt);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Append notes for the given 'object_sha1' from all trees set up by
|
* Append notes for the given 'object_sha1' from all trees set up by
|
||||||
* init_display_notes() to 'sb'. The 'flags' are a bitwise
|
* init_display_notes() to 'sb'.
|
||||||
* combination of
|
|
||||||
*
|
*
|
||||||
* - NOTES_SHOW_HEADER: add a 'Notes (refname):' header
|
* If 'raw' is false the note will be indented by 4 places and
|
||||||
*
|
* a 'Notes (refname):' header added.
|
||||||
* - NOTES_INDENT: indent the notes by 4 places
|
|
||||||
*
|
*
|
||||||
* You *must* call init_display_notes() before using this function.
|
* You *must* call init_display_notes() before using this function.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user