Skip to content

1.2.0

Choose a tag to compare

@BHFock BHFock released this 13 Nov 21:29
· 192 commits to main since this release
4fe31bb

This release lets git cl commit, stage and unstage work on several changelists at once.

New: several changelists in one command

git cl commit docs tests -m "Update docs and tests"
git cl stage docs tests
git cl unstage docs tests
  • git cl commit commits the tracked files of all named changelists as a single commit.
  • If any named changelist does not exist, nothing is committed, staged or unstaged.
  • Duplicate names are ignored.
  • Without --keep, git cl commit deletes all named changelists afterwards; with --keep, all are kept. --delete on stage and unstage removes all named changelists.

A single changelist works exactly as before.

Thanks to @patrickwolf for suggesting this in #56.

Documentation

A review of the tutorial and README (#53):

  • Corrected: the stash description, which wrongly said staged files are left alone, and an FAQ example that left out --delete.
  • Added: that coloured output needs the optional colorama package, and more detail on what git cl checkout does.
  • Fixed: broken links and hidden characters.

Testing

  • CI now tests on Python 3.15 (Linux and Windows) as well as 3.9 (#57).

Pull requests

  • Allow commit, stage and unstage to take multiple changelists by @BHFock in #58
  • Fix and complete tutorial and README documentation by @BHFock in #53
  • Test on Python 3.15 by @BHFock in #57

Full Changelog: 1.1.12...1.2.0