cmft


License
MIT
Install
pip install cmft==0.1.0

Documentation

commit message from test

Wheel Status Python versions Latest Version License Build status Coverage Code style

commit-message-from-test (cmft in short) is tiny filter program to extract possible commit messages from changed files based on test names.

My motivation for writing it was to use with tcr. While coding, I don't like to be interrupted to enter some meaningful commit description, but at the same time I don't like completly useless "working". So I came out with something in the middle: commit descriptions based on test names.

Example usage with tcr and fzf:

$ tcr red `git diff HEAD | cmft | fzf --print-query | tail -n 1`