Repository navigation
1.7.0
This release shows every Git status code in git cl status and brings the documentation and the program back in line after the changes of the 1.6 releases.
Fixed
git cl statusshowed some files with a wrong status. Uncommon status codes were hidden unless--allwas given. Files in a changelist with such a code were still listed, but a file with a staged change that was then deleted (MD,AD) appeared as[XX]"does not exist and is unknown to Git", and a file marked withgit add -N(A) or with a type change (T) appeared as[ ], as if it had no changes.git cl pruneandgit cl stagealways treated these files correctly.git cl statusnow shows every code Git reports.[AM]files were shown in green. They are now magenta, like other files with staged and unstaged changes, as the colour key says.git cl deleteon a stashed changelist said "not found". It now says that the changelist is stashed and to unstash it first.- Help texts:
git cl stash -hsaid that only files with unstaged changes can be stashed; newly added and untracked files can be stashed too.git cl branchlisted a file twice when it refused because of staged changes.
⚠️ Behaviour change
git cl statusshows every Git status code, asgit statusdoes.--allis still accepted, so existing scripts keep working, but it has no effect.
Other changes
- The tutorial, FAQ, design notes and help texts were reviewed against the program, with the documentation as the reference. Among other things:
- The tutorial now says that
git cl unstashrefuses (rather than warns) when files have changes. - It explains why
git cl branchneeds every changelist to be stashable. - It documents
--both,unstash --alland the missing aliases.
- The tutorial now says that
- New FAQ entries: why git-cl commands refuse during a merge conflict, and why a file can be missing from
git cl status. - The tutorial explains the rarer status codes
[ T],[MD]and[ A], and that post-commit hooks are not shared when you push or clone.
Pull requests
- Bring documentation and behaviour back in line by @BHFock in #86
- Show every Git status code in git cl status by @BHFock in #87
Full Changelog: 1.6.7...1.7.0