Comment by amelius
Can't git-bisect simply ignore commits with a commit message smaller than N characters?
Can't git-bisect simply ignore commits with a commit message smaller than N characters?
Not sure it really has huge benefits, but I guess something like this should work:
``` #!/bin/sh N=20 msg_len=$(git log -1 --pretty=%B | wc -c) if [ "$msg_len" -lt "$N" ]; then exit 125 fi # Here you would run your actual test and report 0 (good), 1 (bad) as needed exit 0 ```
That might sound facile, but it's actually a great idea. Being able to ignore commits based on regexes would be even more powerful.