We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898eacd commit 22a8699Copy full SHA for 22a8699
builtin/log.c
@@ -1040,7 +1040,7 @@ static char *find_branch_name(struct rev_info *rev)
1040
if (positive < 0)
1041
return NULL;
1042
strbuf_addf(&buf, "refs/heads/%s", rev->cmdline.rev[positive].name);
1043
- branch = resolve_ref(buf.buf, branch_sha1, 1, 0);
+ branch = resolve_ref(buf.buf, branch_sha1, 1, NULL);
1044
if (!branch ||
1045
prefixcmp(branch, "refs/heads/") ||
1046
hashcmp(rev->cmdline.rev[positive].item->sha1, branch_sha1))
0 commit comments