mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-19 16:55:31 -05:00
fetch: fixup a misaligned comment
Signed-off-by: Matt Hunter <m@lfurio.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c3bfc5ace6
commit
51de0d5fa1
@@ -1789,7 +1789,7 @@ static int set_head(const struct ref *remote_refs, struct remote *remote,
|
||||
strbuf_addf(&b_head, "refs/remotes/%s/HEAD", remote->name);
|
||||
strbuf_addf(&b_remote_head, "refs/remotes/%s/%s", remote->name, head_name);
|
||||
}
|
||||
/* make sure it's valid */
|
||||
/* make sure it's valid */
|
||||
if (!baremirror && !refs_ref_exists(refs, b_remote_head.buf)) {
|
||||
result = 1;
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user