mirror of
https://github.com/git/git.git
synced 2024-09-28 05:20:00 +02:00
c56fcc89b9
This patch adds the following flags to get_commit_notes() for adjusting the format of the produced note string: - NOTES_SHOW_HEADER: Print "Notes:" line before the notes contents - NOTES_INDENT: Indent notes contents by 4 spaces Suggested-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
11 lines
206 B
C
11 lines
206 B
C
#ifndef NOTES_H
|
|
#define NOTES_H
|
|
|
|
#define NOTES_SHOW_HEADER 1
|
|
#define NOTES_INDENT 2
|
|
|
|
void get_commit_notes(const struct commit *commit, struct strbuf *sb,
|
|
const char *output_encoding, int flags);
|
|
|
|
#endif
|