head_ref 1108 builtin/checkout.c char *head_ref = resolve_refdup("HEAD", 0, sha1, &flag); head_ref 1109 builtin/checkout.c if (head_ref && head_ref 1110 builtin/checkout.c (!(flag & REF_ISSYMREF) || strcmp(head_ref, new->path))) head_ref 1112 builtin/checkout.c free(head_ref); head_ref 636 builtin/clone.c struct strbuf head_ref = STRBUF_INIT; head_ref 637 builtin/clone.c strbuf_addstr(&head_ref, branch_top); head_ref 638 builtin/clone.c strbuf_addstr(&head_ref, "HEAD"); head_ref 639 builtin/clone.c create_symref(head_ref.buf, head_ref 230 builtin/show-ref.c head_ref(show_ref, NULL); head_ref 158 log-tree.c head_ref(add_ref_decoration, NULL); head_ref 181 reachable.c head_ref(add_one_ref, revs); head_ref 3468 refs.c const char *head_ref; head_ref 3469 refs.c head_ref = resolve_ref_unsafe("HEAD", RESOLVE_REF_READING, head_ref 3471 refs.c if (head_ref && (head_flag & REF_ISSYMREF) && head_ref 3472 refs.c !strcmp(head_ref, lock->ref_name)) { head_ref 173 refs.h extern int head_ref(each_ref_fn fn, void *cb_data); head_ref 496 remote.c const char *head_ref; head_ref 504 remote.c head_ref = resolve_ref_unsafe("HEAD", 0, sha1, &flag); head_ref 505 remote.c if (head_ref && (flag & REF_ISSYMREF) && head_ref 506 remote.c skip_prefix(head_ref, "refs/heads/", &head_ref)) { head_ref 507 remote.c current_branch = make_branch(head_ref, 0); head_ref 523 shallow.c head_ref(mark_uninteresting, NULL); head_ref 622 shallow.c head_ref(add_ref, &ca); head_ref 657 shallow.c head_ref(add_ref, &ca);