McCabe complexity for just changed files in a commit?

Chris Angelico rosuav at
Sun Oct 3 00:20:02 EDT 2021

On Sun, Oct 3, 2021 at 3:18 PM Chris Angelico <rosuav at> wrote:
> git diff-tree 1af743
> 1af743f411aa2b7278d1f1b3c30b447555ea55b8
> :100644 100644 b5908b5a36a4749e0bef2a16a2733a7461a818dc
> e00ba8738dbf3421288d31c60de9ee42a085c148 M
> The first line is the commit hash, and then each subsequent line names
> a file that changed. The two hashes given are the old version and the
> new version.

Note that these are very long lines, so they don't come out too well
in this post, but everything from ":100644" to "" is a
single line of text.


More information about the Python-list mailing list