Skip to content

1.4.3

Choose a tag to compare

@BHFock BHFock released this 17 Nov 17:16
· 160 commits to main since this release
6c79fe9

This release fixes committing and staging deleted and renamed files.

Fixed

  • git cl commit and git cl stage skipped deleted files and reported "No tracked files", whether the deletion was staged or not. Deletions are now staged and committed like any other change.
  • A rename (git mv) with both paths in a changelist was committed as a new file only, and the deletion of the old path was left staged. It is now committed as a rename.
  • git cl status showed the old path of a rename as missing ([XX]) and suggested removing it, and git cl prune removed it. The old path is now shown as a staged deletion ([D ]) and kept.
  • git cl add no longer warns that a deleted file "does not exist".

If you are on an earlier version, commit deleted or renamed files with plain Git, e.g. git commit -- old-name.txt new-name.txt.

Thanks to @patrickwolf for the clear report in #69.

Other changes

  • If only one side of a rename is in a changelist, git cl status and git cl commit now print a note with the git cl add command for the other side. Nothing is added automatically.
  • New FAQ entry in the tutorial: How do I commit a deleted or renamed file?

Pull requests

  • Handle deleted and renamed files in changelists by @BHFock in #71

Full Changelog: 1.4.2...1.4.3