CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

Side-by-Side view switch automatically to unified one #756

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version: 2.1.5

What steps will reproduce the problem?

1. Display a change by selecting the Side-by-Side view
2. Select the same patch set for old and new version fields

What is the expected output? What do you see instead?

Instead of nothing (because no difference) the following message is displayed:
    diff --git a//COMMIT_MSG b//COMMIT_MSG
    --- a//COMMIT_MSG
    +++ b//COMMIT_MSG 

Then the Unified view is used instead of the Side-by-Side one, the only way to 
fix that is to come back to the main change view and re-select Side-by-Side.

Original issue reported on code.google.com by gregory....@gmail.com on 19 Oct 2010 at 9:12

GoogleCodeExporter commented 9 years ago
First, the output example is related to the commit message but it is true for 
any file.

On other and this issue is probably related to issue #397.

Original comment by gregory....@gmail.com on 19 Oct 2010 at 10:21

GoogleCodeExporter commented 9 years ago
Still there in 2.1.7-rc1-48-g3d29599. Does look related to 397, marking as 
blocked on for now.

Original comment by nas...@grainawi.org on 20 May 2011 at 12:29

GoogleCodeExporter commented 9 years ago
I'm noticing this issue for the 'Commit Message' only. If I select the same 
patch set left and right, it switches to unified, also when moving on to the 
next file.

Original comment by mycr...@gmail.com on 2 Sep 2013 at 2:11