Hi brian On 12/06/2025 02:12, brian m. carlson wrote:
Stashes are currently stored using the reflog in a given repository. This is an interesting and novel way to handle them, but there is no way to easily move a set of stashes across machines. For example, groups of stashes cannot be bundled, pushed, or fetched. Let's solve this problem by allowing users to import and export stashes to a chain of commits. The commits used in a stash export contain two parents: one which is the pointer to the next exported stash (or to an empty commit with no parents if there are no more) and the second is the stash commit that would normally be stored in the reflog. Original thread at message-ID: <20220310173236.4165310-1-sandals@xxxxxxxxxxxxxxxxxxxx> Changes from v7: * Rephrase the documentation to be slightly more explicit. * Don't have `write_commit_with_parents` free its arguments, instead letting the caller (who allocated them) handle them. * Handle invalid combinations of arguments to `export` and add tests for this case.
The range-diff between v7 and v8 looks good to me. Sorry for the slow reply, I was off the list last week.
Thanks Phillip