File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -1196,8 +1196,18 @@ void free_notes(struct notes_tree *t)
1196
1196
memset (t , 0 , sizeof (struct notes_tree ));
1197
1197
}
1198
1198
1199
- void format_note (struct notes_tree * t , const unsigned char * object_sha1 ,
1200
- struct strbuf * sb , const char * output_encoding , int flags )
1199
+ /*
1200
+ * Fill the given strbuf with the notes associated with the given object.
1201
+ *
1202
+ * If the given notes_tree structure is not initialized, it will be auto-
1203
+ * initialized to the default value (see documentation for init_notes() above).
1204
+ * If the given notes_tree is NULL, the internal/default notes_tree will be
1205
+ * used instead.
1206
+ *
1207
+ * 'flags' is a bitwise combination of the flags for format_display_notes.
1208
+ */
1209
+ static void format_note (struct notes_tree * t , const unsigned char * object_sha1 ,
1210
+ struct strbuf * sb , const char * output_encoding , int flags )
1201
1211
{
1202
1212
static const char utf8 [] = "utf-8" ;
1203
1213
const unsigned char * sha1 ;
Original file line number Diff line number Diff line change @@ -241,20 +241,6 @@ void free_notes(struct notes_tree *t);
241
241
#define NOTES_SHOW_HEADER 1
242
242
#define NOTES_INDENT 2
243
243
244
- /*
245
- * Fill the given strbuf with the notes associated with the given object.
246
- *
247
- * If the given notes_tree structure is not initialized, it will be auto-
248
- * initialized to the default value (see documentation for init_notes() above).
249
- * If the given notes_tree is NULL, the internal/default notes_tree will be
250
- * used instead.
251
- *
252
- * 'flags' is a bitwise combination of the above formatting flags.
253
- */
254
- void format_note (struct notes_tree * t , const unsigned char * object_sha1 ,
255
- struct strbuf * sb , const char * output_encoding , int flags );
256
-
257
-
258
244
struct string_list ;
259
245
260
246
struct display_notes_opt {
You can’t perform that action at this time.
0 commit comments