aboutsummaryrefslogtreecommitdiff
path: root/ui-commit.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-04-08 09:00:22 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-08 15:41:38 +0200
commit849ecd961df9454d6f849eac34e6f501395c4f01 (patch)
tree6b7dbd83035c45c8afb34c6607738cf42c8c8d8d /ui-commit.c
parent1c32e008c8fda46f812c38f46ae7515bcf8002ee (diff)
downloadcgit-849ecd961df9454d6f849eac34e6f501395c4f01.tar.gz
cgit-849ecd961df9454d6f849eac34e6f501395c4f01.tar.bz2
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.c3
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, &notes, PAGE_ENCODING, 0);
+ init_display_notes(NULL);
+ format_display_notes(sha1, &notes, PAGE_ENCODING, 0);
load_ref_decorations(DECORATE_FULL_REFS);