LWN.net Logo

Ask a kernel developer

Ask a kernel developer

Posted Jul 8, 2010 15:56 UTC (Thu) by iabervon (subscriber, #722)
Parent article: Ask a kernel developer

In cases where it's unclear what the message is trying to say, it's often worth finding the line that produced the message and then using "git blame" to find the commit that introduced it. Look at the commit to make sure it isn't making an irrelevant change to the line (if so, find the commit that introduced the version that got tweaked). In this case, the commit is by Dave Airlie, but also mentions two co-authors and two contributors. It's probably best to start with the maintainer, but the author of the code in question may be more able to explain it. (For that matter, the commit message may explain it well enough, so it's worth reading that.)


(Log in to post comments)

Ask a kernel developer

Posted Jul 8, 2010 16:10 UTC (Thu) by nye (guest, #51576) [Link]

>Look at the commit to make sure it isn't making an irrelevant change to the line

And in that vein, I'm surprised by how many people aren't aware of 'git blame -w':
"Ignore whitespace when comparing the parent's version and the child's to find where the lines came from".

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds