diff options
author | Christian Hesse | 2014-12-19 00:28:34 -0700 |
---|---|---|
committer | Jason A. Donenfeld | 2014-12-23 18:53:03 -0700 |
commit | 17838ec6304198811df97402f11c185f8f0e10bd (patch) | |
tree | bf462dcdb2b974d45c72b8f4fb559dfde1b51027 /ui-log.c | |
parent | 10c5680efb02b534108b174c0967d08ae3e46927 (diff) | |
download | cgit-17838ec6304198811df97402f11c185f8f0e10bd.tar.gz cgit-17838ec6304198811df97402f11c185f8f0e10bd.tar.bz2 cgit-17838ec6304198811df97402f11c185f8f0e10bd.zip |
git: update to v2.2.1
Update to git version v2.2.1, including API changes.
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,11 +56,11 @@ static void inspect_files(struct diff_filepair *pair) | |||
56 | 56 | ||
57 | void show_commit_decorations(struct commit *commit) | 57 | void show_commit_decorations(struct commit *commit) |
58 | { | 58 | { |
59 | struct name_decoration *deco; | 59 | const struct name_decoration *deco; |
60 | static char buf[1024]; | 60 | static char buf[1024]; |
61 | 61 | ||
62 | buf[sizeof(buf) - 1] = 0; | 62 | buf[sizeof(buf) - 1] = 0; |
63 | deco = lookup_decoration(&name_decoration, &commit->object); | 63 | deco = get_name_decoration(&commit->object); |
64 | html("<span class='decoration'>"); | 64 | html("<span class='decoration'>"); |
65 | while (deco) { | 65 | while (deco) { |
66 | if (starts_with(deco->name, "refs/heads/")) { | 66 | if (starts_with(deco->name, "refs/heads/")) { |