hashcmp 196 bisect.c return hashcmp(a->commit->object.sha1, b->commit->object.sha1); hashcmp 578 bisect.c if (hashcmp(cur->item->object.sha1, current_bad_oid->hash)) hashcmp 783 bisect.c if (!hashcmp(mb, current_bad_oid->hash)) { hashcmp 973 bisect.c if (!hashcmp(bisect_rev, current_bad_oid->hash)) { hashcmp 2152 builtin/am.c if (!hashcmp(head, abort_safety)) hashcmp 1456 builtin/blame.c if (!hashcmp(porigin->blob_sha1, origin->blob_sha1)) { hashcmp 1463 builtin/blame.c !hashcmp(sg_origin[j]->blob_sha1, hashcmp 94 builtin/checkout.c !hashcmp(ce->sha1, old->sha1)) { hashcmp 57 builtin/describe.c return hashcmp(cn1->peeled, peeled ? peeled : cn2->peeled); hashcmp 44 builtin/diff.c !hashcmp(old_sha1, new_sha1) && (old_mode == new_mode)) hashcmp 371 builtin/fast-export.c if (!hashcmp(ospec->sha1, spec->sha1) && hashcmp 199 builtin/fetch.c if (!hashcmp(rm->old_sha1, sha1)) hashcmp 460 builtin/fetch.c if (!hashcmp(ref->old_sha1, ref->new_sha1)) { hashcmp 78 builtin/fmt-merge-msg.c if (given && hashcmp(table->item[i].given, given)) hashcmp 80 builtin/fmt-merge-msg.c if (commit && hashcmp(table->item[i].commit, commit)) hashcmp 580 builtin/fmt-merge-msg.c if (!hashcmp(result->item[i].commit, hashcmp 676 builtin/index-pack.c return hashcmp(sha1, sha2); hashcmp 714 builtin/index-pack.c while (first > 0 && !hashcmp(ref_deltas[first - 1].sha1, sha1)) hashcmp 716 builtin/index-pack.c while (last < end && !hashcmp(ref_deltas[last + 1].sha1, sha1)) hashcmp 1066 builtin/index-pack.c return hashcmp(delta_a->sha1, delta_b->sha1); hashcmp 1149 builtin/index-pack.c if (hashcmp(fill(20), sha1)) hashcmp 1262 builtin/index-pack.c if (hashcmp(read_sha1, tail_sha1) != 0) hashcmp 919 builtin/log.c !hashcmp(tip_sha1, branch_sha1)) hashcmp 1447 builtin/log.c if (hashcmp(o[0].item->sha1, o[1].item->sha1) == 0) hashcmp 1679 builtin/log.c if (hashcmp(o[0].item->sha1, o[1].item->sha1) == 0) hashcmp 155 builtin/merge-tree.c !hashcmp(a->sha1, b->sha1) && hashcmp 895 builtin/merge.c if (hashcmp(second_token->object.sha1, head)) hashcmp 1414 builtin/merge.c !hashcmp(common->item->object.sha1, head_commit->object.sha1)) { hashcmp 1488 builtin/merge.c if (hashcmp(common_one->item->object.sha1, hashcmp 138 builtin/name-rev.c return hashcmp(a->sha1, b->sha1); hashcmp 1101 builtin/pack-objects.c if (ent && !hashcmp(ent->sha1, sha1)) { hashcmp 1284 builtin/pack-objects.c if (!hashcmp(it->pcache.sha1, tree_sha1)) { hashcmp 1462 builtin/pack-objects.c return hashcmp(a->idx.sha1, b->idx.sha1); hashcmp 2341 builtin/pack-objects.c return hashcmp(a->object->sha1, b->object->sha1); hashcmp 143 builtin/pack-redundant.c int cmp = hashcmp(l->sha1, sha1); hashcmp 166 builtin/pack-redundant.c int cmp = hashcmp(l->sha1, sha1); hashcmp 263 builtin/pack-redundant.c int cmp = hashcmp(p1_base + p1_off, p2_base + p2_off); hashcmp 370 builtin/pack-redundant.c int cmp = hashcmp(p1_base + p1_off, p2_base + p2_off); hashcmp 764 builtin/pull.c if (!is_null_sha1(fork_point) && !hashcmp(oct_merge_base, fork_point)) hashcmp 850 builtin/pull.c hashcmp(orig_head, curr_head)) { hashcmp 1100 builtin/receive-pack.c if (!hashcmp(cmd->old_sha1, dst_cmd->old_sha1) && hashcmp 1101 builtin/receive-pack.c !hashcmp(cmd->new_sha1, dst_cmd->new_sha1)) hashcmp 409 builtin/remote.c } else if (!hashcmp(ref->old_sha1, ref->new_sha1)) hashcmp 301 builtin/replace.c if (!hashcmp(old, new)) hashcmp 364 builtin/replace.c if (!hashcmp(tag->tagged->sha1, sha1)) hashcmp 412 builtin/replace.c if (!hashcmp(old, new)) hashcmp 202 builtin/rm.c || hashcmp(ce->sha1, sha1)) hashcmp 489 builtin/show-branch.c (head_sha1 && sha1 && hashcmp(head_sha1, sha1))) hashcmp 80 builtin/tag.c if (!hashcmp(want->item->object.sha1, c->object.sha1)) hashcmp 743 builtin/tag.c if (force && !is_null_sha1(prev) && hashcmp(prev, object)) hashcmp 296 builtin/unpack-objects.c if (!hashcmp(info->base_sha1, obj_list[nr].sha1) || hashcmp 565 builtin/unpack-objects.c if (hashcmp(fill(20), sha1)) hashcmp 650 builtin/update-index.c if (!hashcmp(ce_2->sha1, ce_3->sha1) && hashcmp 735 builtin/update-index.c !hashcmp(ce->sha1, old->sha1)) { hashcmp 74 bulk-checkin.c if (!hashcmp(state->written[i]->sha1, sha1)) hashcmp 363 bundle.c if (hashcmp(sha1, e->item->sha1)) { hashcmp 715 cache-tree.c if (it && it->entry_count > 0 && !hashcmp(ent->sha1, it->sha1)) hashcmp 812 cache.h return hashcmp(oid1->hash, oid2->hash); hashcmp 817 cache.h return !hashcmp(sha1, null_sha1); hashcmp 822 cache.h return !hashcmp(oid->hash, null_sha1); hashcmp 864 cache.h return !hashcmp(sha1, EMPTY_BLOB_SHA1_BIN); hashcmp 41 commit.c if (hashcmp(sha1, c->object.sha1)) { hashcmp 38 contrib/convert-objects/convert-objects.c int cmp = hashcmp(sha1, n->old_sha1); hashcmp 78 contrib/examples/builtin-fetch--tool.c if (!hashcmp(sha1_old, sha1_new)) { hashcmp 332 diff-lib.c (hashcmp(sha1, old->sha1) || hashcmp(old->sha1, new->sha1))) { hashcmp 356 diff-lib.c if (mode == oldmode && !hashcmp(sha1, old->sha1) && !dirty_submodule && hashcmp 1928 diff.c content_changed = hashcmp(p->one->sha1, p->two->sha1); hashcmp 2378 diff.c if (!hashcmp(one->sha1, two->sha1)) { hashcmp 2499 diff.c same_contents = !hashcmp(one->sha1, two->sha1); hashcmp 2689 diff.c if (hashcmp(sha1, ce->sha1) || !S_ISREG(ce->ce_mode)) hashcmp 3063 diff.c if (one && two && hashcmp(one->sha1, two->sha1)) { hashcmp 4155 diff.c !hashcmp(one->sha1, two->sha1) && hashcmp 4289 diff.c else if (hashcmp(p->one->sha1, p->two->sha1) || hashcmp 61 diffcore-break.c !hashcmp(src->sha1, dst->sha1)) hashcmp 290 diffcore-rename.c if (hashcmp(source->sha1, target->sha1)) hashcmp 1116 dir.c hashcmp(sha1_stat.sha1, untracked->exclude_sha1)) { hashcmp 1934 dir.c if (hashcmp(dir->ss_info_exclude.sha1, hashcmp 1939 dir.c if (hashcmp(dir->ss_excludes_file.sha1, hashcmp 575 fast-import.c if (!hashcmp(sha1, e->idx.sha1)) hashcmp 586 fast-import.c if (!hashcmp(sha1, e->idx.sha1)) hashcmp 1518 fast-import.c && !hashcmp(e->versions[1].sha1, sha1)) hashcmp 2345 fast-import.c if (S_ISDIR(mode) && !hashcmp(sha1, EMPTY_TREE_SHA1_BIN) && *p) { hashcmp 2619 fast-import.c if (hashcmp(b->sha1, oe->idx.sha1)) { hashcmp 2637 fast-import.c if (b->branch_tree.tree && hashcmp(sha1, b->branch_tree.versions[1].sha1)) { hashcmp 573 fetch-pack.c hashcmp(sha1, ref->old_sha1)) hashcmp 158 fsck.c hashcmp(skiplist.sha1[skiplist.nr - 2], hashcmp 1890 http-push.c if (!hashcmp(ref->old_sha1, ref->peer_ref->new_sha1)) { hashcmp 456 http-walker.c while (obj_req != NULL && hashcmp(obj_req->sha1, sha1)) hashcmp 503 http-walker.c } else if (hashcmp(obj_req->sha1, req->real_sha1)) { hashcmp 1829 http.c if (hashcmp(freq->sha1, freq->real_sha1)) { hashcmp 319 khash.h #define __kh_oid_cmp(a, b) (hashcmp(a, b) == 0) hashcmp 472 log-tree.c if (!hashcmp(parent->item->object.sha1, sha1)) hashcmp 506 log-tree.c !hashcmp(tag->tagged->sha1, hashcmp 107 match-trees.c else if (hashcmp(e1.sha1, e2.sha1)) hashcmp 37 merge-recursive.c if (!hashcmp(two->object.sha1, shifted)) hashcmp 63 merge-recursive.c return a && b && hashcmp(a, b) == 0; hashcmp 78 notes-merge.c cmp = hashcmp(obj, list[i].obj); hashcmp 152 notes-merge.c assert(!hashcmp(mp->obj, obj)); hashcmp 219 notes-merge.c assert(!hashcmp(mp->obj, obj)); hashcmp 230 notes-merge.c if (!hashcmp(mp->local, uninitialized)) hashcmp 242 notes-merge.c !hashcmp(mp->local, uninitialized)); hashcmp 250 notes-merge.c assert(!hashcmp(p->one->sha1, mp->base)); hashcmp 251 notes-merge.c assert(!hashcmp(mp->local, uninitialized)); hashcmp 485 notes-merge.c if (!hashcmp(p->base, p->remote)) { hashcmp 488 notes-merge.c } else if (!hashcmp(p->local, p->remote)) { hashcmp 491 notes-merge.c } else if (!hashcmp(p->local, uninitialized) || hashcmp 492 notes-merge.c !hashcmp(p->local, p->base)) { hashcmp 625 notes-merge.c if (!hashcmp(remote->object.sha1, base_sha1)) { hashcmp 632 notes-merge.c if (!hashcmp(local->object.sha1, base_sha1)) { hashcmp 146 notes.c if (!hashcmp(key_sha1, l->key_sha1)) hashcmp 203 notes.c if (hashcmp(l->key_sha1, entry->key_sha1)) hashcmp 263 notes.c if (!hashcmp(l->key_sha1, entry->key_sha1)) { hashcmp 265 notes.c if (!hashcmp(l->val_sha1, entry->val_sha1)) hashcmp 95 object.c if (!hashcmp(sha1, obj->sha1)) hashcmp 79 pack-check.c if (hashcmp(sha1, pack_sig)) hashcmp 82 pack-check.c if (hashcmp(index_base + index_size - 40, pack_sig)) hashcmp 161 pack-check.c if (hashcmp(sha1, index_base + index_size - 20)) hashcmp 17 pack-objects.c if (!hashcmp(sha1, pdata->objects[pos].idx.sha1)) { hashcmp 16 pack-write.c return hashcmp(a->sha1, b->sha1); hashcmp 128 pack-write.c (i && !hashcmp(list[-2]->sha1, obj->sha1))) hashcmp 258 pack-write.c if (hashcmp(sha1, partial_pack_sha1) != 0) hashcmp 168 read-cache.c match = hashcmp(sha1, ce->sha1); hashcmp 209 read-cache.c return hashcmp(sha1, ce->sha1); hashcmp 710 read-cache.c !hashcmp(alias->sha1, ce->sha1) && hashcmp 1363 read-cache.c if (hashcmp(sha1, (unsigned char *)hdr + size - 20)) hashcmp 1639 read-cache.c if (hashcmp(split_index->base_sha1, split_index->base->sha1)) hashcmp 1929 read-cache.c if (hashcmp(istate->sha1, sha1)) hashcmp 2282 refs.c if (hashcmp(lock->old_oid.hash, old_sha1)) { hashcmp 2907 refs.c if (hashcmp(actual_old_sha1, old_sha1)) { hashcmp 2944 refs.c if (hashcmp(actual_old_sha1, old_sha1)) { hashcmp 3603 refs.c if (hashcmp(cb->osha1, nsha1)) hashcmp 3609 refs.c else if (hashcmp(nsha1, cb->sha1)) hashcmp 4193 refs.c !hashcmp(update->lock->old_oid.hash, update->new_sha1)) { hashcmp 1578 remote.c !hashcmp(ref->old_sha1, ref->new_sha1)) { hashcmp 1597 remote.c hashcmp(ref->old_sha1, ref->old_sha1_expect)) hashcmp 2221 remote.c if (r && !hashcmp(r->old_sha1, head->old_sha1)) hashcmp 2229 remote.c !hashcmp(r->old_sha1, head->old_sha1)) { hashcmp 3110 revision.c !hashcmp(p->item->object.sha1, commit->object.sha1)) hashcmp 349 sequencer.c return !hashcmp(active_cache_tree->sha1, head_commit->tree->object.sha1); hashcmp 411 sequencer.c return !hashcmp(ptree_sha1, commit->tree->object.sha1); hashcmp 506 sequencer.c ((parent && !hashcmp(parent->object.sha1, head)) || hashcmp 14 sha1-array.c return hashcmp(a, b); hashcmp 55 sha1-array.c if (i > 0 && !hashcmp(array->sha1[i], array->sha1[i-1])) hashcmp 91 sha1-lookup.c cmp = hashcmp(fn(mi, table), sha1); hashcmp 75 sha1_file.c if (!hashcmp(co->sha1, sha1)) hashcmp 78 sha1_file.c if (!hashcmp(sha1, empty_tree.sha1)) hashcmp 1053 sha1_file.c if (hashcmp(sha1, idx_sha1)) hashcmp 1437 sha1_file.c if (!hashcmp(sha1, p->bad_object_sha1 + 20 * i)) hashcmp 1451 sha1_file.c if (!hashcmp(sha1, p->bad_object_sha1 + 20 * i)) hashcmp 1474 sha1_file.c return hashcmp(sha1, real_sha1) ? -1 : 0; hashcmp 1501 sha1_file.c return hashcmp(sha1, real_sha1) ? -1 : 0; hashcmp 2536 sha1_file.c int cmp = hashcmp(index + mi * stride, sha1); hashcmp 2581 sha1_file.c if (!hashcmp(sha1, p->bad_object_sha1 + 20 * i)) hashcmp 3119 sha1_file.c if (hashcmp(sha1, parano_sha1) != 0) hashcmp 38 sha1_name.c } else if (!hashcmp(ds->candidate, current)) { hashcmp 155 sha1_name.c cmp = hashcmp(bin_pfx, current); hashcmp 41 submodule-config.c hashcmp(a->config->gitmodules_sha1, b->config->gitmodules_sha1); hashcmp 49 submodule-config.c hashcmp(a->config->gitmodules_sha1, b->config->gitmodules_sha1); hashcmp 316 submodule.c if (!hashcmp(one, two)) { hashcmp 35 test-dump-cache-tree.c if (hashcmp(it->sha1, ref->sha1) || hashcmp 1287 transport.c !hashcmp(rm->peer_ref->old_sha1, rm->old_sha1)) hashcmp 485 tree-diff.c if (hashcmp(t.entry.sha1, tp[i].entry.sha1) || hashcmp 1211 unpack-trees.c !hashcmp(a->sha1, b->sha1); hashcmp 1317 unpack-trees.c if (!hashcmp(sha1, ce->sha1)) hashcmp 434 wt-status.c d->new_submodule_commits = !!hashcmp(p->one->sha1, p->two->sha1); hashcmp 1347 wt-status.c (!hashcmp(cb.nsha1, sha1) || hashcmp 1350 wt-status.c !hashcmp(cb.nsha1, commit->object.sha1)))) { hashcmp 1360 wt-status.c !hashcmp(sha1, state->detached_sha1); hashcmp 188 xdiff-interface.c if (!hashcmp(sha1, null_sha1)) {