ChangeScreen2: Do not display 'M' next to modified files
Most files are modified. Its the added/deleted/renamed/copied files that need to be highlighted as outside of the typical review flow. Avoid UI clutter by only displaying 'ADRCW' status codes, or any other codes the server returns in the REST API. Change-Id: I332152c3d6f8c6416649e3f7efe6a3a141f28536
This commit is contained in:
		| @@ -56,7 +56,8 @@ public class FileInfoJson { | ||||
|     Map<String, FileInfo> files = Maps.newTreeMap(); | ||||
|     for (PatchListEntry e : list.getPatches()) { | ||||
|       FileInfoJson.FileInfo d = new FileInfoJson.FileInfo(); | ||||
|       d.status = e.getChangeType().getCode(); | ||||
|       d.status = e.getChangeType() != Patch.ChangeType.MODIFIED | ||||
|           ? e.getChangeType().getCode() : null; | ||||
|       d.oldPath = e.getOldName(); | ||||
|       if (e.getPatchType() == Patch.PatchType.BINARY) { | ||||
|         d.binary = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shawn Pearce
					Shawn Pearce