Repository navigation
1.7.4
This release makes installation easier on current Linux and macOS systems and fixes git cl commit for changelists without changes. It is also the first release published to PyPI by a GitHub workflow.
Fixed
git cl commitof a changelist whose tracked files have no changes (for example files added before editing them) stopped with Git's "nothing added to commit" and a Python exception text. Unchanged files are now left out. If no file has changes, git-cl says so and keeps the changelist. In a changelist with other changes, unchanged files are no longer listed as committed.- In the case above,
git cl commitnow exits with 0 instead of 1, as it already did for changelists with only untracked files.
Other changes
- Installation: the README and tutorial now recommend
pipx install git-changelists. On many Linux distributions and with Homebrew,pip installstops withexternally-managed-environment; the tutorial explains this and also covers upgrading and uninstalling with pipx, and colour viapipx inject git-changelists colorama. - The download instructions use curl, which a fresh macOS has, with wget as an alternative in the tutorial.
git cl helpno longer shows the raw list{add,a,remove,…}above the command table; the error for an unknown command now readsargument <command>: invalid choice.- Reworded the message shown when
git cl stashrefuses files that cannot be stashed. - Releases are now built and uploaded to PyPI by a GitHub workflow with Trusted Publishing, after a check that the tag matches the version;
RELEASING.mddescribes the steps. - PyPI classifier
Operating System :: OS Independent, as CI tests Linux and Windows.
Pull requests
- Add release workflow by @BHFock in #93
- Document the release workflow and update its artifact actions by @BHFock in #94
- Installation instructions, git cl commit with unchanged files, help tidy-up by @BHFock in #95
Full Changelog: 1.7.3...1.7.4