about summary refs log tree commit diff stats
path: root/ui-blame.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-blame.c')
-rw-r--r--ui-blame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-blame.c b/ui-blame.c index c3662bb..cfab7fb 100644 --- a/ui-blame.c +++ b/ui-blame.c
@@ -48,7 +48,7 @@ static void emit_blame_entry_hash(struct blame_entry *ent)
48 unsigned long line = 0; 48 unsigned long line = 0;
49 49
50 char *detail = emit_suspect_detail(suspect); 50 char *detail = emit_suspect_detail(suspect);
51 html("<span class='sha1'>"); 51 html("<span class='oid'>");
52 cgit_commit_link(find_unique_abbrev(oid, DEFAULT_ABBREV), detail, 52 cgit_commit_link(find_unique_abbrev(oid, DEFAULT_ABBREV), detail,
53 NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); 53 NULL, ctx.qry.head, oid_to_hex(oid), suspect->path);
54 html("</span>"); 54 html("</span>");
@@ -256,7 +256,7 @@ static int basedir_len(const char *path)
256 256
257void cgit_print_blame(void) 257void cgit_print_blame(void)
258{ 258{
259 const char *rev = ctx.qry.sha1; 259 const char *rev = ctx.qry.oid;
260 struct object_id oid; 260 struct object_id oid;
261 struct commit *commit; 261 struct commit *commit;
262 struct pathspec_item path_items = { 262 struct pathspec_item path_items = {