I am an admittedly mediocre software developer working for a mid-sized company. Earlier this year, I got into a spat with somebody else on my team over merge conflicts. Being the stubborn person that I am, I wrote a script to commit and push code every time I saved a file. That way, she had to deal with big merge conflicts way more than I did.
Today, I had my annual review. I thought my boss was going to chew me out for being an ass and difficult to work with. Instead, he told me that I was doing awesome because I had "way more commits than anybody". He showed me a report saying that I had 88,000 commits this year and the next highest in my entire department was around 13,000 commits. He then told me I'd be getting a huge bonus that year for producing so much work.
My boss clearly doesn't understand much about development, but this has strangely worked in my favor. Should I try to explain to him why number of commits is a stupid metric to judge a developer on? Or should I just keep quiet, take my large bonus, and continue committing huge quantities?