git: update to v2.2.1
Update to git version v2.2.1, including API changes. Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:

committed by
Jason A. Donenfeld

parent
10c5680efb
commit
17838ec630
4
ui-log.c
4
ui-log.c
@ -56,11 +56,11 @@ static void inspect_files(struct diff_filepair *pair)
|
||||
|
||||
void show_commit_decorations(struct commit *commit)
|
||||
{
|
||||
struct name_decoration *deco;
|
||||
const struct name_decoration *deco;
|
||||
static char buf[1024];
|
||||
|
||||
buf[sizeof(buf) - 1] = 0;
|
||||
deco = lookup_decoration(&name_decoration, &commit->object);
|
||||
deco = get_name_decoration(&commit->object);
|
||||
html("<span class='decoration'>");
|
||||
while (deco) {
|
||||
if (starts_with(deco->name, "refs/heads/")) {
|
||||
|
Reference in New Issue
Block a user