]> git.ipfire.org Git - thirdparty/git.git/commitdiff
fetch: fixup a misaligned comment
authorMatt Hunter <m@lfurio.us>
Fri, 19 Jun 2026 09:44:27 +0000 (05:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Jun 2026 16:19:36 +0000 (09:19 -0700)
Signed-off-by: Matt Hunter <m@lfurio.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c

index 3c8210d1776f2709814533c64ff7b3632d75d325..25ab8803a819d8453f7e1d3e57c6f07b0c5efacf 100644 (file)
@@ -1793,7 +1793,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;