hashcpy 181 archive.c hashcpy(d->oid.hash, sha1); hashcpy 269 branch.c hashcpy(sha1, commit->object.sha1); hashcpy 1524 builtin/am.c hashcpy(state->orig_commit, commit_sha1); hashcpy 1633 builtin/am.c hashcpy(our_tree, EMPTY_TREE_SHA1_BIN); hashcpy 2118 builtin/am.c hashcpy(head, EMPTY_TREE_SHA1_BIN); hashcpy 2180 builtin/am.c hashcpy(curr_head, EMPTY_TREE_SHA1_BIN); hashcpy 2184 builtin/am.c hashcpy(orig_head, EMPTY_TREE_SHA1_BIN); hashcpy 3434 builtin/apply.c hashcpy(patch->threeway_stage[0].hash, pre_sha1); hashcpy 3435 builtin/apply.c hashcpy(patch->threeway_stage[1].hash, our_sha1); hashcpy 3436 builtin/apply.c hashcpy(patch->threeway_stage[2].hash, post_sha1); hashcpy 3833 builtin/apply.c hashcpy(sha1, active_cache[pos]->sha1); hashcpy 4199 builtin/apply.c hashcpy(ce->sha1, patch->threeway_stage[stage - 1].hash); hashcpy 570 builtin/blame.c hashcpy(porigin->blob_sha1, origin->blob_sha1); hashcpy 596 builtin/blame.c hashcpy(porigin->blob_sha1, p->one->sha1); hashcpy 642 builtin/blame.c hashcpy(porigin->blob_sha1, p->one->sha1); hashcpy 1306 builtin/blame.c hashcpy(norigin->blob_sha1, p->one->sha1); hashcpy 2387 builtin/blame.c hashcpy(ce->sha1, origin->blob_sha1); hashcpy 880 builtin/branch.c hashcpy(merge_filter_ref, head_sha1); hashcpy 105 builtin/cat-file.c hashcpy(blob_sha1, sha1); hashcpy 331 builtin/cat-file.c hashcpy(data->expand->sha1, sha1); hashcpy 78 builtin/checkout.c hashcpy(ce->sha1, sha1); hashcpy 188 builtin/checkout.c hashcpy(threeway[stage - 1], ce->sha1); hashcpy 1021 builtin/checkout.c hashcpy(rev, branch_rev); hashcpy 604 builtin/clone.c hashcpy(sha1, ref->old_sha1); hashcpy 108 builtin/describe.c hashcpy(e->peeled, peeled); hashcpy 116 builtin/describe.c hashcpy(e->sha1, sha1); hashcpy 411 builtin/diff.c hashcpy(blob[blobs].sha1, obj->sha1); hashcpy 20 builtin/fetch-pack.c hashcpy(ref->old_sha1, sha1); hashcpy 276 builtin/fetch.c hashcpy(rm->old_sha1, item->util); hashcpy 581 builtin/fetch.c hashcpy(sha1, ref->old_sha1); hashcpy 642 builtin/fetch.c hashcpy(ref->old_sha1, rm->peer_ref->old_sha1); hashcpy 643 builtin/fetch.c hashcpy(ref->new_sha1, rm->old_sha1); hashcpy 930 builtin/fetch.c hashcpy(rm->peer_ref->old_sha1, old_oid->hash); hashcpy 94 builtin/fmt-merge-msg.c hashcpy(table->item[table->nr].given, given); hashcpy 95 builtin/fmt-merge-msg.c hashcpy(table->item[table->nr].commit, commit); hashcpy 128 builtin/fmt-merge-msg.c hashcpy(origin_data->sha1, sha1); hashcpy 425 builtin/fsck.c hashcpy(entry->sha1, sha1); hashcpy 511 builtin/index-pack.c hashcpy(ref_sha1, fill(20)); hashcpy 1131 builtin/index-pack.c hashcpy(ref_deltas[nr_ref_deltas].sha1, ref_delta_sha1); hashcpy 1258 builtin/index-pack.c hashcpy(read_sha1, pack_sha1); hashcpy 1323 builtin/index-pack.c hashcpy(obj->idx.sha1, sha1); hashcpy 1519 builtin/merge.c hashcpy(stash, null_sha1); hashcpy 30 builtin/mktree.c hashcpy(ent->sha1, sha1); hashcpy 129 builtin/name-rev.c hashcpy(tip_table.table[tip_table.nr].sha1, sha1); hashcpy 710 builtin/notes.c hashcpy(parent_sha1, partial->parents->item->object.sha1); hashcpy 1143 builtin/pack-objects.c hashcpy(nent->sha1, sha1); hashcpy 1294 builtin/pack-objects.c hashcpy(it->pcache.sha1, tree_sha1); hashcpy 746 builtin/pull.c hashcpy(merge_base, result->item->object.sha1); hashcpy 1147 builtin/receive-pack.c hashcpy(sha1, cmd->new_sha1); hashcpy 1184 builtin/receive-pack.c hashcpy(sha1, cmd->new_sha1); hashcpy 1364 builtin/receive-pack.c hashcpy(cmd->old_sha1, old_sha1); hashcpy 1365 builtin/receive-pack.c hashcpy(cmd->new_sha1, new_sha1); hashcpy 392 builtin/reflog.c hashcpy(e->sha1, oid->hash); hashcpy 398 builtin/remote.c hashcpy(ref->new_sha1, ref->peer_ref->new_sha1); hashcpy 301 builtin/reset.c hashcpy(sha1, EMPTY_TREE_SHA1_BIN); hashcpy 309 builtin/reset.c hashcpy(sha1, commit->object.sha1); hashcpy 317 builtin/reset.c hashcpy(sha1, tree->object.sha1); hashcpy 143 builtin/unpack-objects.c hashcpy(info->base_sha1, base_sha1); hashcpy 344 builtin/unpack-objects.c hashcpy(base_sha1, fill(20)); hashcpy 358 builtin/unpack-objects.c hashcpy(obj_list[nr].sha1, null_sha1); hashcpy 399 builtin/unpack-objects.c hashcpy(base_sha1, obj_list[mid].sha1); hashcpy 409 builtin/unpack-objects.c hashcpy(obj_list[nr].sha1, null_sha1); hashcpy 397 builtin/update-index.c hashcpy(ce->sha1, sha1); hashcpy 593 builtin/update-index.c hashcpy(ce->sha1, sha1); hashcpy 247 bulk-checkin.c hashcpy(idx->sha1, result_sha1); hashcpy 19 bundle.c hashcpy(list->list[list->nr].sha1, sha1); hashcpy 399 cache-tree.c hashcpy(it->sha1, sha1); hashcpy 518 cache-tree.c hashcpy(it->sha1, (const unsigned char*)buf); hashcpy 638 cache-tree.c hashcpy(sha1, subtree->sha1); hashcpy 641 cache-tree.c hashcpy(sha1, index_state->cache_tree->sha1); hashcpy 660 cache-tree.c hashcpy(it->sha1, tree->object.sha1); hashcpy 832 cache.h hashcpy(dst->hash, src->hash); hashcpy 47 combine-diff.c hashcpy(p->oid.hash, q->queue[i]->two->sha1); hashcpy 49 combine-diff.c hashcpy(p->parent[n].oid.hash, q->queue[i]->one->sha1); hashcpy 80 combine-diff.c hashcpy(p->parent[n].oid.hash, q->queue[i]->one->sha1); hashcpy 1276 combine-diff.c hashcpy(pair->one[i].sha1, p->parent[i].oid.hash); hashcpy 1284 combine-diff.c hashcpy(pair->two->sha1, p->oid.hash); hashcpy 169 connect.c hashcpy(ref->old_sha1, old_sha1); hashcpy 22 contrib/convert-objects/convert-objects.c hashcpy(new->old_sha1, sha1); hashcpy 53 contrib/convert-objects/convert-objects.c hashcpy(buffer, entry->new_sha1); hashcpy 103 contrib/convert-objects/convert-objects.c hashcpy((unsigned char *)new + newlen, (unsigned char *) buffer + len - 20); hashcpy 63 csum-file.c hashcpy(result, f->buffer); hashcpy 158 diff-lib.c hashcpy(dpath->parent[stage-2].oid.hash, nce->sha1); hashcpy 346 diff-lib.c hashcpy(p->parent[0].oid.hash, new->sha1); hashcpy 349 diff-lib.c hashcpy(p->parent[1].oid.hash, old->sha1); hashcpy 2635 diff.c hashcpy(spec->sha1, sha1); hashcpy 3132 diff.c hashcpy(one->sha1, null_sha1); hashcpy 549 dir.c hashcpy(sha1_stat->sha1, active_cache[pos]->sha1); hashcpy 710 dir.c hashcpy(sha1_stat->sha1, EMPTY_BLOB_SHA1_BIN); hashcpy 734 dir.c hashcpy(sha1_stat->sha1, active_cache[pos]->sha1); hashcpy 1118 dir.c hashcpy(untracked->exclude_sha1, sha1_stat.sha1); hashcpy 2342 dir.c hashcpy(ouc->info_exclude_sha1, untracked->ss_info_exclude.sha1); hashcpy 2343 dir.c hashcpy(ouc->excludes_file_sha1, untracked->ss_excludes_file.sha1); hashcpy 2517 dir.c hashcpy(ud->exclude_sha1, rd->data); hashcpy 2526 dir.c hashcpy(sha1_stat->sha1, sha1); hashcpy 566 fast-import.c hashcpy(e->idx.sha1, sha1); hashcpy 1045 fast-import.c hashcpy(sha1out, sha1); hashcpy 1240 fast-import.c hashcpy(sha1out, sha1); hashcpy 1376 fast-import.c hashcpy(e->versions[0].sha1, (unsigned char *)c); hashcpy 1377 fast-import.c hashcpy(e->versions[1].sha1, (unsigned char *)c); hashcpy 1465 fast-import.c hashcpy(e->versions[0].sha1, e->versions[1].sha1); hashcpy 1484 fast-import.c hashcpy(root->versions[1].sha1, sha1); hashcpy 1521 fast-import.c hashcpy(e->versions[1].sha1, sha1); hashcpy 1573 fast-import.c hashcpy(e->versions[1].sha1, sha1); hashcpy 2324 fast-import.c hashcpy(sha1, oe->idx.sha1); hashcpy 2491 fast-import.c hashcpy(sha1, oe->idx.sha1); hashcpy 2509 fast-import.c hashcpy(commit_sha1, s->sha1); hashcpy 2515 fast-import.c hashcpy(commit_sha1, commit_oe->idx.sha1); hashcpy 2575 fast-import.c hashcpy(b->branch_tree.versions[0].sha1, hashcpy 2604 fast-import.c hashcpy(sha1, b->branch_tree.versions[1].sha1); hashcpy 2611 fast-import.c hashcpy(b->sha1, s->sha1); hashcpy 2612 fast-import.c hashcpy(b->branch_tree.versions[0].sha1, t); hashcpy 2613 fast-import.c hashcpy(b->branch_tree.versions[1].sha1, t); hashcpy 2620 fast-import.c hashcpy(b->sha1, oe->idx.sha1); hashcpy 2657 fast-import.c hashcpy(n->sha1, s->sha1); hashcpy 2663 fast-import.c hashcpy(n->sha1, oe->idx.sha1); hashcpy 2754 fast-import.c hashcpy(b->branch_tree.versions[0].sha1, hashcpy 2811 fast-import.c hashcpy(sha1, s->sha1); hashcpy 2818 fast-import.c hashcpy(sha1, oe->idx.sha1); hashcpy 2962 fast-import.c hashcpy(sha1, oe->idx.sha1); hashcpy 3034 fast-import.c hashcpy(sha1, e->idx.sha1); hashcpy 3089 fast-import.c hashcpy(root->versions[1].sha1, e->idx.sha1); hashcpy 1676 grep.c hashcpy(gs->identifier, identifier); hashcpy 1924 http-push.c hashcpy(ref->new_sha1, ref->peer_ref->new_sha1); hashcpy 156 http-walker.c hashcpy(newreq->sha1, sha1); hashcpy 1680 http.c hashcpy(freq->sha1, sha1); hashcpy 218 match-trees.c hashcpy(rewrite_here, rewrite_with); hashcpy 265 match-trees.c hashcpy(shifted, hash2); hashcpy 328 match-trees.c hashcpy(shifted, hash2); hashcpy 343 match-trees.c hashcpy(shifted, sub2); hashcpy 137 merge-recursive.c hashcpy(ci->ren1_other.sha1, src_entry1->stages[ostage1].sha); hashcpy 141 merge-recursive.c hashcpy(ci->ren2_other.sha1, src_entry2->stages[ostage2].sha); hashcpy 352 merge-recursive.c hashcpy(e->stages[ce_stage(ce)].sha, ce->sha1); hashcpy 572 merge-recursive.c hashcpy(entry->stages[1].sha, o->sha1); hashcpy 573 merge-recursive.c hashcpy(entry->stages[2].sha, a->sha1); hashcpy 574 merge-recursive.c hashcpy(entry->stages[3].sha, b->sha1); hashcpy 903 merge-recursive.c hashcpy(result.sha, a->sha1); hashcpy 906 merge-recursive.c hashcpy(result.sha, b->sha1); hashcpy 926 merge-recursive.c hashcpy(result.sha, b->sha1); hashcpy 928 merge-recursive.c hashcpy(result.sha, a->sha1); hashcpy 952 merge-recursive.c hashcpy(result.sha, a->sha1); hashcpy 1001 merge-recursive.c hashcpy(one.sha1, o_sha); hashcpy 1003 merge-recursive.c hashcpy(a.sha1, a_sha); hashcpy 1005 merge-recursive.c hashcpy(b.sha1, b_sha); hashcpy 1112 merge-recursive.c hashcpy(target->sha1, sha); hashcpy 1422 merge-recursive.c hashcpy(src_other.sha1, ren1->src_entry->stages[other_stage].sha); hashcpy 1424 merge-recursive.c hashcpy(dst_other.sha1, ren1->dst_entry->stages[other_stage].sha); hashcpy 1600 merge-recursive.c hashcpy(one.sha1, o_sha); hashcpy 1602 merge-recursive.c hashcpy(a.sha1, a_sha); hashcpy 1604 merge-recursive.c hashcpy(b.sha1, b_sha); hashcpy 1665 merge-recursive.c hashcpy(merged.sha1, mfi.sha); hashcpy 155 notes-merge.c hashcpy(mp->remote, p->two->sha1); hashcpy 158 notes-merge.c hashcpy(mp->base, p->one->sha1); hashcpy 162 notes-merge.c hashcpy(mp->obj, obj); hashcpy 163 notes-merge.c hashcpy(mp->base, p->one->sha1); hashcpy 164 notes-merge.c hashcpy(mp->local, uninitialized); hashcpy 165 notes-merge.c hashcpy(mp->remote, p->two->sha1); hashcpy 243 notes-merge.c hashcpy(mp->local, p->two->sha1); hashcpy 252 notes-merge.c hashcpy(mp->local, p->two->sha1); hashcpy 587 notes-merge.c hashcpy(result_sha1, remote_sha1); hashcpy 592 notes-merge.c hashcpy(result_sha1, local_sha1); hashcpy 629 notes-merge.c hashcpy(result_sha1, local->object.sha1); hashcpy 636 notes-merge.c hashcpy(result_sha1, remote->object.sha1); hashcpy 207 notes.c hashcpy(entry->val_sha1, l->val_sha1); hashcpy 374 notes.c hashcpy(n->sha1, sha1); hashcpy 400 notes.c hashcpy(p->sha1, n->sha1); hashcpy 448 notes.c hashcpy(l->key_sha1, object_sha1); hashcpy 449 notes.c hashcpy(l->val_sha1, entry.sha1); hashcpy 815 notes.c hashcpy(cur_sha1, new_sha1); hashcpy 842 notes.c hashcpy(cur_sha1, new_sha1); hashcpy 1023 notes.c hashcpy(root_tree.val_sha1, sha1); hashcpy 1087 notes.c hashcpy(l->key_sha1, object_sha1); hashcpy 1088 notes.c hashcpy(l->val_sha1, note_sha1); hashcpy 1099 notes.c hashcpy(l.key_sha1, object_sha1); hashcpy 148 object.c hashcpy(obj->sha1, sha1); hashcpy 505 pack-bitmap-write.c hashcpy(writer.pack_checksum, sha1); hashcpy 530 pack-bitmap-write.c hashcpy(header.checksum, writer.pack_checksum); hashcpy 184 pack-bitmap.c hashcpy(stored->sha1, sha1); hashcpy 101 pack-objects.c hashcpy(new_entry->idx.sha1, sha1); hashcpy 84 patch-ids.c hashcpy(ent->patch_id, sha1); hashcpy 631 read-cache.c hashcpy(ce->sha1, sha1); hashcpy 748 read-cache.c hashcpy(ce->sha1, sha1); hashcpy 1428 read-cache.c hashcpy(ce->sha1, ondisk->sha1); hashcpy 1562 read-cache.c hashcpy(istate->sha1, (const unsigned char *)hdr + mmap_size - 20); hashcpy 1760 read-cache.c hashcpy(sha1, write_buffer + left); hashcpy 1830 read-cache.c hashcpy(ondisk->sha1, ce->sha1); hashcpy 2149 read-cache.c hashcpy(si->base_sha1, si->base->sha1); hashcpy 854 ref-filter.c hashcpy(ref->objectname, objectname); hashcpy 31 reflog-walk.c hashcpy(item->osha1, osha1); hashcpy 32 reflog-walk.c hashcpy(item->nsha1, nsha1); hashcpy 365 refs.c hashcpy(ref->u.value.oid.hash, sha1); hashcpy 1272 refs.c hashcpy(last->u.value.peeled.hash, sha1); hashcpy 1478 refs.c hashcpy(sha1, ref->u.value.oid.hash); hashcpy 1566 refs.c hashcpy(sha1, entry->u.value.oid.hash); hashcpy 1857 refs.c hashcpy(sha1, o->sha1); hashcpy 1905 refs.c hashcpy(sha1, current_ref->u.value.peeled.hash); hashcpy 1925 refs.c hashcpy(sha1, r->u.value.peeled.hash); hashcpy 2380 refs.c hashcpy(sha1, hash); hashcpy 2694 refs.c hashcpy(n->sha1, entry->u.value.oid.hash); hashcpy 3171 refs.c hashcpy(lock->old_oid.hash, orig_sha1); hashcpy 3602 refs.c hashcpy(cb->sha1, nsha1); hashcpy 3608 refs.c hashcpy(cb->sha1, nsha1); hashcpy 3613 refs.c hashcpy(cb->osha1, osha1); hashcpy 3614 refs.c hashcpy(cb->nsha1, nsha1); hashcpy 3618 refs.c hashcpy(cb->osha1, osha1); hashcpy 3619 refs.c hashcpy(cb->nsha1, nsha1); hashcpy 3639 refs.c hashcpy(cb->sha1, osha1); hashcpy 3641 refs.c hashcpy(cb->sha1, nsha1); hashcpy 4016 refs.c hashcpy(update->new_sha1, new_sha1); hashcpy 4020 refs.c hashcpy(update->old_sha1, old_sha1); hashcpy 4550 refs.c hashcpy(cb->last_kept_sha1, nsha1); hashcpy 821 remote-curl.c hashcpy(ref->old_sha1, old_sha1); hashcpy 1134 remote.c hashcpy((*match)->new_sha1, sha1); hashcpy 1413 remote.c hashcpy(dst_ref->new_sha1, ref->new_sha1); hashcpy 1520 remote.c hashcpy(dst_peer->new_sha1, ref->new_sha1); hashcpy 1572 remote.c hashcpy(ref->new_sha1, ref->peer_ref->new_sha1); hashcpy 1969 remote.c hashcpy(ref->old_sha1, list->old_sha1); hashcpy 2184 remote.c hashcpy(ref->new_sha1, oid->hash); hashcpy 2277 remote.c hashcpy(ref->new_sha1, oid->hash); hashcpy 2397 remote.c hashcpy(ref->old_sha1_expect, cas->entry[i].expect); hashcpy 71 replace_object.c hashcpy(repl_obj->replacement, oid->hash); hashcpy 27 resolve-undo.c hashcpy(ui->sha1[stage - 1], ce->sha1); hashcpy 92 resolve-undo.c hashcpy(ui->sha1[i], (const unsigned char *)data); hashcpy 1388 revision.c hashcpy(sha1, ((struct tag*)it)->tagged->sha1); hashcpy 473 sequencer.c hashcpy(head, EMPTY_TREE_SHA1_BIN); hashcpy 8 sha1-array.c hashcpy(array->sha1[array->nr++], sha1); hashcpy 1213 sha1_file.c hashcpy(p->sha1, sha1); hashcpy 1440 sha1_file.c hashcpy(p->bad_object_sha1 + 20 * p->num_bad_objects, sha1); hashcpy 2074 sha1_file.c hashcpy(oi->delta_base_sha1, base); hashcpy 2600 sha1_file.c hashcpy(e->sha1, sha1); hashcpy 2821 sha1_file.c hashcpy(co->sha1, sha1); hashcpy 2904 sha1_file.c hashcpy(actual_sha1, sha1); hashcpy 2915 sha1_file.c hashcpy(actual_sha1_return, actual_sha1); hashcpy 35 sha1_name.c hashcpy(ds->candidate, current); hashcpy 57 sha1_name.c hashcpy(ds->candidate, current); hashcpy 223 sha1_name.c hashcpy(sha1, ds->candidate); hashcpy 609 sha1_name.c hashcpy(result, commit->object.sha1); hashcpy 615 sha1_name.c hashcpy(result, p->item->object.sha1); hashcpy 642 sha1_name.c hashcpy(result, commit->object.sha1); hashcpy 731 sha1_name.c hashcpy(sha1, o->sha1); hashcpy 744 sha1_name.c hashcpy(sha1, o->sha1); hashcpy 900 sha1_name.c hashcpy(sha1, commit->object.sha1); hashcpy 1015 sha1_name.c hashcpy(sha1, mbs->item->object.sha1); hashcpy 1416 sha1_name.c hashcpy(sha1, ce->sha1); hashcpy 1460 sha1_name.c hashcpy(oc->tree, tree_sha1); hashcpy 35 shallow.c hashcpy(graft->oid.hash, sha1); hashcpy 24 split-index.c hashcpy(si->base_sha1, data); hashcpy 132 submodule-config.c hashcpy(key_config.gitmodules_sha1, gitmodules_sha1); hashcpy 152 submodule-config.c hashcpy(key_config.gitmodules_sha1, gitmodules_sha1); hashcpy 200 submodule-config.c hashcpy(submodule->gitmodules_sha1, gitmodules_sha1); hashcpy 345 submodule-config.c hashcpy(gitmodules_sha1, null_sha1); hashcpy 939 submodule.c hashcpy(result, a); hashcpy 970 submodule.c hashcpy(result, b); hashcpy 974 submodule.c hashcpy(result, a); hashcpy 52 test-submodule-config.c hashcpy(commit_sha1, null_sha1); hashcpy 887 transport-helper.c hashcpy(ref->old_sha1, sha1); hashcpy 415 transport.c hashcpy(ref->old_sha1, e->sha1); hashcpy 154 tree-diff.c hashcpy(p->oid.hash, sha1 ? sha1 : null_sha1); hashcpy 241 tree-diff.c hashcpy(p->parent[i].oid.hash, sha1_i ? sha1_i : null_sha1); hashcpy 443 tree-walk.c hashcpy(result, sha1); hashcpy 451 tree-walk.c hashcpy(result, sha1); hashcpy 471 tree-walk.c hashcpy(sha1, root); hashcpy 524 tree-walk.c hashcpy(current_tree_sha1, tree_sha1); hashcpy 544 tree-walk.c hashcpy(parents[parents_nr].sha1, root); hashcpy 548 tree-walk.c hashcpy(result, root); hashcpy 598 tree-walk.c hashcpy(result, parents[parents_nr - 1].sha1); hashcpy 612 tree-walk.c hashcpy(result, current_tree_sha1); hashcpy 622 tree-walk.c hashcpy(result, current_tree_sha1); hashcpy 29 tree.c hashcpy(ce->sha1, sha1); hashcpy 90 tree.c hashcpy(sha1, entry.sha1); hashcpy 105 tree.c hashcpy(sha1, commit->tree->object.sha1); hashcpy 560 unpack-trees.c hashcpy(ce->sha1, n->sha1); hashcpy 1048 unpack-trees.c hashcpy(o->result.sha1, o->src_index->sha1); hashcpy 82 walker.c hashcpy(current_commit_sha1, commit->object.sha1); hashcpy 194 walker.c hashcpy(sha1, ref->old_sha1); hashcpy 1319 wt-status.c hashcpy(cb->nsha1, nsha1); hashcpy 1358 wt-status.c hashcpy(state->detached_sha1, cb.nsha1); hashcpy 1394 wt-status.c hashcpy(state->cherry_pick_head_sha1, sha1); hashcpy 1403 wt-status.c hashcpy(state->revert_head_sha1, sha1);