update 2005 builtin/am.c opts.update = 1; update 415 builtin/checkout.c opts.update = worktree; update 501 builtin/checkout.c topts.update = 1; update 708 builtin/clone.c opts.update = 1; update 605 builtin/merge.c opts.update = 1; update 127 builtin/read-tree.c OPT_SET_INT('u', NULL, &opts.update, update 189 builtin/read-tree.c if (1 < opts.index_only + opts.update) update 191 builtin/read-tree.c if ((opts.update || opts.index_only) && !opts.merge) update 193 builtin/read-tree.c opts.update ? "-u" : "-i"); update 194 builtin/read-tree.c if ((opts.dir && !opts.update)) update 1247 builtin/receive-pack.c cmd->error_string = update(cmd, si); update 1279 builtin/receive-pack.c cmd->error_string = update(cmd, si); update 1586 builtin/remote.c result = update(argc, argv); update 60 builtin/reset.c opts.update = 1; update 63 builtin/reset.c opts.update = 1; update 232 merge-recursive.c opts.update = 1; update 75 merge.c opts.update = 1; update 3985 refs.c struct ref_update *update = xcalloc(1, sizeof(*update) + len + 1); update 3987 refs.c strcpy((char *)update->refname, refname); update 3989 refs.c transaction->updates[transaction->nr++] = update; update 3990 refs.c return update; update 4000 refs.c struct ref_update *update; update 4014 refs.c update = add_update(transaction, refname); update 4016 refs.c hashcpy(update->new_sha1, new_sha1); update 4020 refs.c hashcpy(update->old_sha1, old_sha1); update 4023 refs.c update->flags = flags; update 4025 refs.c update->msg = xstrdup(msg); update 4162 refs.c struct ref_update *update = updates[i]; update 4164 refs.c if ((update->flags & REF_HAVE_NEW) && update 4165 refs.c is_null_sha1(update->new_sha1)) update 4166 refs.c update->flags |= REF_DELETING; update 4167 refs.c update->lock = lock_ref_sha1_basic( update 4168 refs.c update->refname, update 4169 refs.c ((update->flags & REF_HAVE_OLD) ? update 4170 refs.c update->old_sha1 : NULL), update 4172 refs.c update->flags, update 4173 refs.c &update->type, update 4175 refs.c if (!update->lock) { update 4183 refs.c update->refname, reason); update 4187 refs.c if ((update->flags & REF_HAVE_NEW) && update 4188 refs.c !(update->flags & REF_DELETING)) { update 4189 refs.c int overwriting_symref = ((update->type & REF_ISSYMREF) && update 4190 refs.c (update->flags & REF_NODEREF)); update 4193 refs.c !hashcmp(update->lock->old_oid.hash, update->new_sha1)) { update 4198 refs.c } else if (write_ref_to_lockfile(update->lock, update 4199 refs.c update->new_sha1, update 4207 refs.c update->lock = NULL; update 4210 refs.c update->refname, write_err); update 4215 refs.c update->flags |= REF_NEEDS_COMMIT; update 4218 refs.c if (!(update->flags & REF_NEEDS_COMMIT)) { update 4223 refs.c if (close_ref(update->lock)) { update 4225 refs.c update->refname); update 4233 refs.c struct ref_update *update = updates[i]; update 4235 refs.c if (update->flags & REF_NEEDS_COMMIT) { update 4236 refs.c if (commit_ref_update(update->lock, update 4237 refs.c update->new_sha1, update->msg, update 4238 refs.c update->flags, err)) { update 4240 refs.c update->lock = NULL; update 4245 refs.c update->lock = NULL; update 4252 refs.c struct ref_update *update = updates[i]; update 4254 refs.c if (update->flags & REF_DELETING) { update 4255 refs.c if (delete_ref_loose(update->lock, update->type, err)) { update 4260 refs.c if (!(update->flags & REF_ISPRUNING)) update 4262 refs.c update->lock->ref_name); update 4333 refs.c struct ref_update *update = updates[i]; update 4335 refs.c if ((update->flags & REF_HAVE_OLD) && update 4336 refs.c !is_null_sha1(update->old_sha1)) update 4338 refs.c if (verify_refname_available(update->refname, update 4341 refs.c verify_refname_available(update->refname, update 4357 refs.c struct ref_update *update = updates[i]; update 4359 refs.c if ((update->flags & REF_HAVE_NEW) && update 4360 refs.c !is_null_sha1(update->new_sha1)) update 4361 refs.c add_packed_ref(update->refname, update->new_sha1); update 4630 refs.c int update = (flags & EXPIRE_REFLOGS_UPDATE_REF) && update 4637 refs.c } else if (update && update 4648 refs.c } else if (update && commit_ref(lock)) { update 480 rerere.c static void update_paths(struct string_list *update) update 486 rerere.c for (i = 0; i < update->nr; i++) { update 487 rerere.c struct string_list_item *item = &update->items[i]; update 502 rerere.c struct string_list update = STRING_LIST_INIT_DUP; update 547 rerere.c string_list_insert(&update, path); update 567 rerere.c if (update.nr) update 568 rerere.c update_paths(&update); update 196 unpack-trees.c if (o->update && o->verbose_update) { update 208 unpack-trees.c if (o->update) update 215 unpack-trees.c if (o->update && !o->dry_run) update 232 unpack-trees.c if (o->update && !o->dry_run) { update 238 unpack-trees.c if (o->update) update 1029 unpack-trees.c if (!core_apply_sparse_checkout || !o->update) update 1447 unpack-trees.c if (o->index_only || o->reset || !o->update) update 1502 unpack-trees.c int update = CE_UPDATE; update 1518 unpack-trees.c update |= CE_ADDED; update 1537 unpack-trees.c update = 0; update 1544 unpack-trees.c update |= old->ce_flags & (CE_SKIP_WORKTREE | CE_NEW_SKIP_WORKTREE); update 1555 unpack-trees.c do_add_entry(o, merge, update, CE_STAGEMASK); update 1874 unpack-trees.c int update = 0; update 1875 unpack-trees.c if (o->reset && o->update && !ce_uptodate(old) && !ce_skip_worktree(old)) { update 1879 unpack-trees.c update |= CE_UPDATE; update 1881 unpack-trees.c add_entry(o, old, update, 0); update 37 unpack-trees.h update,