| Issue 1716: | Can't view raw code from the diff view | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Instead of having zip download links from the diff view, why not have 'view raw' links that just load the text file in the browser? Usually, I just want to copy a few lines of code from the diff and currently I have to: 1. Click download 2. Choose whether I want to save it or open it with a de-archiving utility 3. Find where it was saved/expanded to 4. Open the file in a text editor 5. Copy the code It's usually faster for me to actually copy the code from the diff view with all the line numbers and just remove the line numbers by hand. I've talked to at least 3 other developers who have the exact same complaint. If you believe the download link is useful, perhaps both links could be provided. Personally though, I have no use for the download link (that's what git is for).
Dec 11, 2012
Project Member
#1
edwin.ke...@gmail.com
Status:
Invalid
Dec 12, 2012
I suggested this mimetype change to my gerrit admin, but he said that marking the mimetype as safe would not fix the problem: "That doesn't quite work the way you're thinking--it's for us to define mimetypes that Gerrit should show diffs of (rather than a zip download of the file). All text-based filetypes are already shown by the browser as diffs, but most binary filetypes aren't shown on diff." So who is correct in this case? |
|
| ► Sign in to add a comment |