Skip to content

1.4.1

Choose a tag to compare

@BHFock BHFock released this 15 Nov 18:42
· 167 commits to main since this release
e9d3462

This release fixes git cl branch when untracked files are lying around outside any changelist.

Fixed

  • git cl branch created the new branch but then failed to restore the changelist if an untracked file that belongs to no changelist was present, for example scratch notes or build output. You were left on the new branch with the changelist still stashed, and the suggested git cl unstash <name> failed for the same reason.
  • Untracked files outside changelists now simply stay in the working directory and follow the switch to the new branch, just as with git checkout -b.

If you hit this on an earlier version, git cl unstash <name> --force restores the changelist. No changes were lost.

Other changes

  • If restoring the changelist after git cl branch fails for another reason, the hint now says the changelist is still stashed and that the problem shown above must be resolved first.
  • The duplicate "Switched to new branch" message is gone; git's own message remains.
  • The tutorial now explains correctly why git cl branch stops when tracked changes are not in a changelist: they would be carried onto the new branch.

Pull requests

  • Fix git cl branch failing when untracked files are outside changelists by @BHFock in #67

Full Changelog: 1.4.0...1.4.1