My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 819: Gerrit shows incorrect file diff/file content when comparing a file between two patch sets
4 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Project Member Reported by edwin.ke...@gmail.com, Jan 12, 2011
Affected Version: 2.1.6.1

What steps will reproduce the problem?
1. go to:
https://review.source.android.com/#patch,unified,20326,3,Documentation/error-not-valid-ref.txt
2. select 'Whole file' as context
3. compare Base with Patch Set 3 and pay attention to lines 28 to 32:
28 +
29 +ref format for directly pushing a commit (without code review):
30 +---------------------------------------------------------------
31 +
32 +If it was the intention to bypass code review and to push directly to
4. now compare Patch Set 2 with Patch Set 3, the lines 28 to 32 are incorrect, they look like this:
28 If it was the intention to bypass code review and to push directly to
29 +ref format for directly pushing a commit (without code review):
30 +---------------------------------------------------------------
31 +
32 +If it was the intention to bypass code review and to push directly to

What is the expected output? What do you see instead?
When comparing Patch Set 2 with Patch Set 3 lines 28 to 32 are expected to look like this:
28 +
29 +ref format for directly pushing a commit (without code review):
30 +---------------------------------------------------------------
31 +
32 If it was the intention to bypass code review and to push directly to

Please provide any additional information below.
The same problem can be seen when using Side-By-Side diff.
Sign in to add a comment

Powered by Google Project Hosting