Is there any size limit to the Git commit message?
I searched trough the web but cannot find any relevant mention about this except this one.
However, that one does not answer my question.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
https://github.com/git/git/blob/master/strbuf.h defines the
lenfield to be asize_t. So at the very least, the maximum length has an upper bound at the maximum value ofsize_ton your platform of choice.