gnustavo / Git-Hooks

Framework for implementing Git (and Gerrit) hooks
http://search.cpan.org/dist/Git-Hooks/
41 stars 17 forks source link

CheckCommit should deny big commits #67

Open gnustavo opened 3 years ago

gnustavo commented 3 years ago

We could have a check to deny commits exceeding a specified size in bytes.

gnustavo commented 3 years ago

Hmm... the concept of the commit size isn't as obvious as I imagined. Look at this.

marceloavilaoliveira commented 3 years ago

I didn't understand. How "sha1collider" is related to this issue?

gnustavo commented 3 years ago

Oops. Sorry. That was the wrong link. I meant this one: https://stackoverflow.com/questions/40697663/show-commit-size-in-git-log