this can be merged with existing handler for ```check-all```, you can pass ```isChecked``` argument from it to ```handleCommitButtonStatus``` function and in there make a check like this:
```
function handleCommitButtonStatus(bool) {
    if (typeof bool !== "boolean") {
        bool = gitPanel.$panel.find(".check-one:checked").length === 0;
    }
    $(".git-commit").prop("disabled", bool);
}
```
You will save some computing there.