News for hackers. Stuff that matters.
Re:A better pull request by mindprince on Thursday January 22, 2015 @03:16PM (#8931466)
When I first encountered this behavior on BitBucket, I spent a lot of time reading the man pages and searching the internet trying to find out which option were they providing to `git diff` to get this diff output but couldn't find anything. Looks like there is indeed no such option. It would be awesome if git had something like `git diff branch-name --merge-commit-diff`.
Re:A better pull request by kannonboy on Thursday January 22, 2015 @05:12PM (#8932119)
One of the Bitbucket engineers put a one-liner in the comments on the post that will generate diff-like output similar to what you're describing: https://developer.atlassian.com/blog/2015/01/a-better-pull-r...
Re:A better pull request by mindprince on Thursday January 22, 2015 @05:43PM (#8932273)
Yup, that was me who asked the question there. :-)