summaryrefslogtreecommitdiffstats
path: root/path.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-01-19 11:40:15 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-19 20:10:41 +0100
commit35122daebc8030ccc42f54fe4f08272091e4aa94 (patch)
tree6650df01b6ecc547f3257c84404745388a8c4735 /path.h
parentrefs: convert AUTO_MERGE to become a normal pseudo-ref (diff)
downloadgit-35122daebc8030ccc42f54fe4f08272091e4aa94.tar.xz
git-35122daebc8030ccc42f54fe4f08272091e4aa94.zip
sequencer: introduce functions to handle autostashes via refs
We're about to convert the MERGE_AUTOSTASH ref to become non-special, using the refs API instead of direct filesystem access to both read and write the ref. The current interfaces to write autostashes is entirely path-based though, so we need to extend them to also support writes via the refs API instead. Ideally, we would be able to fully replace the old set of path-based interfaces. But the sequencer will continue to write state into "rebase-merge/autostash". This path is not considered to be a ref at all and will thus stay is-is for now, which requires us to keep both path- and refs-based interfaces to handle autostashes. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.h')
0 files changed, 0 insertions, 0 deletions