summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-01 13:35:34 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-03 10:32:47 -0700
commit1280e92d1622484c97facb840f2788166171d460 (patch)
tree8a8139830b52cfd99c8165dd948ffb5ee4ae0165 /contrib/persistent-https
parentb2ebb7803bafb581649de1b51eb3184ab7fe3463 (diff)
reset: allow the caller to specify the current HEAD object
When calling `reset_working_tree()` we automatically derive the commit that the callers wants to move from by reading the HEAD commit. Some callers may already have resolved it, or they may want to move from a different commit that doesn't match HEAD. Introduce a new `oid_from` option that lets the caller specify the commit. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions