Repository navigation
1.4.1
This release fixes git cl branch when untracked files are lying around outside any changelist.
Fixed
git cl branchcreated 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 suggestedgit 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 branchfails 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 branchstops when tracked changes are not in a changelist: they would be carried onto the new branch.
Pull requests
Full Changelog: 1.4.0...1.4.1