InlineEdit: Don't offer edit icon on binary files
Currently there is no way to retrieve patch type info in side by side screen. Extend GET changes/<id>/revisions/<rev>/files/<path>/diff to return binary flag. Suppress change edit icon on patch set select panel when binary file is opened. Bug: Issue 3162 Change-Id: I92daf8fde462a0c9977821a60fb19538e4bfae45
This commit is contained in:
@@ -32,6 +32,8 @@ public class DiffInfo {
|
||||
public List<ContentEntry> content;
|
||||
// Links to the file diff in external sites
|
||||
public List<DiffWebLinkInfo> webLinks;
|
||||
// Binary file
|
||||
public Boolean binary;
|
||||
|
||||
public static enum IntraLineStatus {
|
||||
OK,
|
||||
|
||||
Reference in New Issue
Block a user