Skip to content

1.6.5

Choose a tag to compare

@BHFock BHFock released this 21 Nov 10:47
· 128 commits to main since this release
0817830

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 unstash could 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.json and cl-stashes.json live, which fields git-cl requires and uses, that releases only add optional fields, and the format history. Stash records now have the optional field stash_commit.

Pull requests

  • Identify stashes by commit hash instead of message by @BHFock in #81

Full Changelog: 1.6.4...1.6.5