summaryrefslogtreecommitdiff
path: root/contrib/persistent-https/socket.go
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-01 13:35:31 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-01 09:56:53 -0700
commit2535b951e07ac0da0d1c6c06bd76effe879c18a4 (patch)
treee6713aed2b0ffa7599a2d6698ed84c3f89d43198 /contrib/persistent-https/socket.go
parent9762e2faf7c7f6781df3b07ed1a56f1b4b99b53c (diff)
reset: modernize flags passed to `reset_working_tree()`
The flags passed to `reset_working_tree()` are declared as defines. This has fallen a bit out of practice nowadays, where we instead prefer to use enums. Furthermore, the prefix of those flags does not match the function name anymore after the rename in the preceding commit. Adapt the code to follow modern best practices and adapt the flag names. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions