rm 591 builtin/clone.c struct ref **rm = cb_data; rm 592 builtin/clone.c struct ref *ref = *rm; rm 605 builtin/clone.c *rm = ref->next; rm 617 builtin/clone.c const struct ref *rm = mapped_refs; rm 623 builtin/clone.c 0, &rm, transport)) rm 153 builtin/fetch.c struct ref *rm, **old_tail = *tail; rm 156 builtin/fetch.c for (rm = *head; rm; rm = rm->next) { rm 157 builtin/fetch.c if (branch_merge_matches(branch, i, rm->name)) { rm 158 builtin/fetch.c rm->fetch_head_status = FETCH_HEAD_MERGE; rm 162 builtin/fetch.c if (rm) rm 178 builtin/fetch.c for (rm = *old_tail; rm; rm = rm->next) rm 179 builtin/fetch.c rm->fetch_head_status = FETCH_HEAD_MERGE; rm 197 builtin/fetch.c struct ref *rm = *head; rm 198 builtin/fetch.c while (rm) { rm 199 builtin/fetch.c if (!hashcmp(rm->old_sha1, sha1)) rm 201 builtin/fetch.c rm = rm->next; rm 274 builtin/fetch.c struct ref *rm = alloc_ref(item->string); rm 275 builtin/fetch.c rm->peer_ref = alloc_ref(item->string); rm 276 builtin/fetch.c hashcpy(rm->old_sha1, item->util); rm 277 builtin/fetch.c **tail = rm; rm 278 builtin/fetch.c *tail = &rm->next; rm 290 builtin/fetch.c struct ref *rm; rm 309 builtin/fetch.c for (rm = ref_map; rm; rm = rm->next) rm 310 builtin/fetch.c rm->fetch_head_status = FETCH_HEAD_MERGE; rm 392 builtin/fetch.c for (rm = orefs; rm; rm = rm->next) { rm 393 builtin/fetch.c rm->fetch_head_status = FETCH_HEAD_IGNORE; rm 394 builtin/fetch.c tail = &rm->next; rm 573 builtin/fetch.c struct ref **rm = cb_data; rm 574 builtin/fetch.c struct ref *ref = *rm; rm 580 builtin/fetch.c *rm = ref->next; rm 593 builtin/fetch.c struct ref *rm; rm 607 builtin/fetch.c rm = ref_map; rm 608 builtin/fetch.c if (check_everything_connected(iterate_ref_map, 0, &rm)) { rm 621 builtin/fetch.c for (rm = ref_map; rm; rm = rm->next) { rm 625 builtin/fetch.c if (rm->status == REF_STATUS_REJECT_SHALLOW) { rm 628 builtin/fetch.c rm->peer_ref ? rm->peer_ref->name : rm->name); rm 632 builtin/fetch.c commit = lookup_commit_reference_gently(rm->old_sha1, 1); rm 634 builtin/fetch.c rm->fetch_head_status = FETCH_HEAD_NOT_FOR_MERGE; rm 636 builtin/fetch.c if (rm->fetch_head_status != want_status) rm 639 builtin/fetch.c if (rm->peer_ref) { rm 640 builtin/fetch.c ref = xcalloc(1, sizeof(*ref) + strlen(rm->peer_ref->name) + 1); rm 641 builtin/fetch.c strcpy(ref->name, rm->peer_ref->name); rm 642 builtin/fetch.c hashcpy(ref->old_sha1, rm->peer_ref->old_sha1); rm 643 builtin/fetch.c hashcpy(ref->new_sha1, rm->old_sha1); rm 644 builtin/fetch.c ref->force = rm->peer_ref->force; rm 648 builtin/fetch.c if (!strcmp(rm->name, "HEAD")) { rm 652 builtin/fetch.c else if (starts_with(rm->name, "refs/heads/")) { rm 654 builtin/fetch.c what = rm->name + 11; rm 656 builtin/fetch.c else if (starts_with(rm->name, "refs/tags/")) { rm 658 builtin/fetch.c what = rm->name + 10; rm 660 builtin/fetch.c else if (starts_with(rm->name, "refs/remotes/")) { rm 662 builtin/fetch.c what = rm->name + 13; rm 666 builtin/fetch.c what = rm->name; rm 682 builtin/fetch.c switch (rm->fetch_head_status) { rm 688 builtin/fetch.c sha1_to_hex(rm->old_sha1), rm 705 builtin/fetch.c rc |= update_local_ref(ref, what, rm, ¬e); rm 744 builtin/fetch.c struct ref *rm = ref_map; rm 755 builtin/fetch.c return check_everything_connected(iterate_ref_map, 1, &rm); rm 896 builtin/fetch.c struct ref *rm; rm 923 builtin/fetch.c for (rm = ref_map; rm; rm = rm->next) { rm 924 builtin/fetch.c if (rm->peer_ref) { rm 927 builtin/fetch.c rm->peer_ref->name); rm 930 builtin/fetch.c hashcpy(rm->peer_ref->old_sha1, old_oid->hash); rm 622 builtin/pull.c struct remote *rm; rm 626 builtin/pull.c rm = remote_get(remote); rm 627 builtin/pull.c if (!rm) rm 637 builtin/pull.c if (strcmp(curr_branch_remote, rm->name)) rm 1574 builtin/remote.c result = rm(argc, argv); rm 1281 transport.c struct ref *rm; rm 1283 transport.c for (rm = refs; rm; rm = rm->next) { rm 1285 transport.c if (rm->peer_ref && rm 1286 transport.c !is_null_sha1(rm->old_sha1) && rm 1287 transport.c !hashcmp(rm->peer_ref->old_sha1, rm->old_sha1)) rm 1290 transport.c heads[nr_heads++] = rm; rm 1302 transport.c for (rm = refs; rm; rm = rm->next) rm 1303 transport.c heads[nr_heads++] = rm;