diff options
author | John Keeping <john@keeping.me.uk> | 2013-04-08 08:00:22 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-04-08 13:41:38 +0000 |
commit | 849ecd961df9454d6f849eac34e6f501395c4f01 (patch) | |
tree | 6b7dbd83035c45c8afb34c6607738cf42c8c8d8d /ui-commit.c | |
parent | 1c32e008c8fda46f812c38f46ae7515bcf8002ee (diff) | |
download | cgit-849ecd961df9454d6f849eac34e6f501395c4f01.tar cgit-849ecd961df9454d6f849eac34e6f501395c4f01.tar.gz cgit-849ecd961df9454d6f849eac34e6f501395c4f01.zip |
Update git to v1.8.2.1
This requires a small change to how we handle notes, but otherwise just
works.
Note that we can't use anything from v1.8.0 until v1.8.2.1 because some
of the symbols that we need for graph drawing were made private in
v1.8.0 and this was not reverted until v1.8.2.1.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-commit.c b/ui-commit.c index 0783285..5a552a1 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -36,7 +36,8 @@ void cgit_print_commit(char *hex, const char *prefix) } info = cgit_parse_commit(commit); - format_note(NULL, sha1, ¬es, PAGE_ENCODING, 0); + init_display_notes(NULL); + format_display_notes(sha1, ¬es, PAGE_ENCODING, 0); load_ref_decorations(DECORATE_FULL_REFS); |