<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 6, 2015 at 11:26 AM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
</span>Basically the problem is that the 'compare' page always does 'git diff<br>
a...b' which shows the commits in b not in a. What we need is a way to<br>
do arbitrary diffs. A quick look at the gitlab code, it appears changes<br>
will be necessary to:<br>
<br>
    <a href="https://github.com/gitlabhq/gitlab_git/blob/master/lib/gitlab_git/diff.rb#L14-25" target="_blank">https://github.com/gitlabhq/gitlab_git/blob/master/lib/gitlab_git/diff.rb#L14-25</a><br>
<br>
to offer a "straight diff" mode.<br></blockquote><div><br></div><div>A straight diff will be an improvement (and it's too bad that gitlab's compare tool</div><div>doesn't provide it as an option).  But that still won't give nice results if the branch</div><div>is rebased.</div><div><br></div><div> - David</div></div></div></div>