diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-07-01 13:35:34 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-03 10:32:47 -0700 |
| commit | 1280e92d1622484c97facb840f2788166171d460 (patch) | |
| tree | 8a8139830b52cfd99c8165dd948ffb5ee4ae0165 /t/t4013/diff.diff_initial..side | |
| parent | b2ebb7803bafb581649de1b51eb3184ab7fe3463 (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 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
