Repository navigation
1.6.5
This release makes stashing safe across Git worktrees and documents the compatibility rules for the metadata files.
Fixed
- Unstash could restore another worktree's changes. Worktrees of one repository share the stash list. If a changelist of the same name was stashed in two worktrees within the same second, both stashes got the same message, and
git cl unstashcould apply the changes stashed in the other worktree. git-cl now records the commit hash of each stash and identifies the stash by it.
Changelists stashed with earlier versions, or by other tools, have no commit hash recorded. They are still found by their stash message, as before, so they can be unstashed after upgrading.
Other changes
- New "Metadata Compatibility" section in the design notes, linked from the README. It describes where
cl.jsonandcl-stashes.jsonlive, which fields git-cl requires and uses, that releases only add optional fields, and the format history. Stash records now have the optional fieldstash_commit.
Pull requests
Full Changelog: 1.6.4...1.6.5