Currently in a situation where a co-worker refuses to do any work, and seems to want to make me do all the work, and then take the credit for it. Unfortunately for me, he tells the boss that we are sharing the work, but he is doing more work than I am. Said co-worker has been with the company longer than I have so the boss believes him more easily than me.
How do you deal with situations like this? Is it wise to point out the code differences in the source? Or is it better to just bite the bullet and deal?