Repository navigation
1.4.3
This release fixes committing and staging deleted and renamed files.
Fixed
git cl commitandgit cl stageskipped 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 statusshowed the old path of a rename as missing ([XX]) and suggested removing it, andgit cl pruneremoved it. The old path is now shown as a staged deletion ([D ]) and kept.git cl addno 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 statusandgit cl commitnow print a note with thegit cl addcommand 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
Full Changelog: 1.4.2...1.4.3