summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-01 13:35:30 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-01 09:56:52 -0700
commit9762e2faf7c7f6781df3b07ed1a56f1b4b99b53c (patch)
tree29a39b66898dc1fb4a1bc03b0c5519a81c07b480 /contrib/persistent-https
parent5ce540bed335005046aad5969e1ae3bb1fc6cde5 (diff)
reset: rename `reset_head()`
In a subsequent commit we're about to adapt `reset_head()` so that the reference update to HEAD is optional, only. At this point the function starts to feel misnamed, as it doesn't necessarily have anything to do with the HEAD reference anymore. The gist of the function then is that we reset the working tree to a specific new commit, updating both the index and the checked-out files. Rename it to `reset_working_tree()` to better reflect that. Note that we don't adjust the flags yet. This will happen in a subsequent commit. Suggested-by: Phillip Wood <phillip.wood123@gmail.com> 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