Skip to content

1.7.0

Choose a tag to compare

@BHFock BHFock released this 22 Nov 18:55
· 111 commits to main since this release
bebdb32

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 status showed some files with a wrong status. Uncommon status codes were hidden unless --all was 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 with git add -N ( A) or with a type change ( T) appeared as [ ], as if it had no changes. git cl prune and git cl stage always treated these files correctly. git cl status now 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 delete on a stashed changelist said "not found". It now says that the changelist is stashed and to unstash it first.
  • Help texts: git cl stash -h said that only files with unstaged changes can be stashed; newly added and untracked files can be stashed too. git cl branch listed a file twice when it refused because of staged changes.

⚠️ Behaviour change

  • git cl status shows every Git status code, as git status does. --all is 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 unstash refuses (rather than warns) when files have changes.
    • It explains why git cl branch needs every changelist to be stashable.
    • It documents --both, unstash --all and the missing aliases.
  • 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