git log --grep=searchstring appears to only search the first line of every commit message. How do I search the entire commit message?
git log –grep=searchstring appears to only search the first line of every commit message.
Share
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.
What version of
gitare you using? With version 1.7.7.6, the--grepoption appears to search through the entire content of commit messages. Take for example this log:If I grep for the word
second, I get:This is clearly matching something other than the first line.