]> git.99rst.org Git - git.git/commit
reset: introduce dry-run mode
authorPatrick Steinhardt <redacted>
Wed, 1 Jul 2026 11:35:32 +0000 (13:35 +0200)
committerJunio C Hamano <redacted>
Wed, 1 Jul 2026 16:56:53 +0000 (09:56 -0700)
commit8e435d99b56e8c7be32d7f46101d18e88b9fc4ac
tree8be1e7018091b4e6aaf26798d787afca07dc91da
parent2535b951e07ac0da0d1c6c06bd76effe879c18a4
reset: introduce dry-run mode

In a subsequent commit we'll add another caller to `reset_working_tree()`
that wants to perform a dry-run check of whether it would be possible to
update the index and working tree when moving to a new commit. Introduce
a new flag that lets the caller perform this operation.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
reset.c
reset.h
git clone https://git.99rst.org/PROJECT