| Summary: | Better display of messages created by hooks in remote repository | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Gunnar Wagenknecht <gunnar> | ||||
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | shish+eclipse | ||||
| Version: | 1.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
See http://egit.eclipse.org/r/#change,3906 http://egit.eclipse.org/r/#change,3909 Missing items: * converting the line endings (we currenlty just wrap) * Use a fixed width I don't know if this is related to line endings or something else, but an issue I've found is that long commit hook lines get wrapped really weirdly -- short lines are fine, but long lines seem to have their trailing \n stripped, so they merge with the next line: line 111 line 222 line 333 line 1111111111111111111111111111 111111111 line 222222222222222222 22222222222222222 line 3333333333 3333333333333333333333333 the code in the commit hook that prints these lines is the same in each case, the only difference is the length of the line |
Created attachment 200267 [details] screenshot Sometimes, hooks are installed in a remote repository. EGit displays the output of such hooks in the push dialog already. It would be nice if the output of the hooks can be formatted in a way that makes it better readable. Possible optimizations: * convert line endings to native endings (i.e. properly wrap on Windows) * make output scrollable * (optionally) use fixed-width (i.e. "text") font for the hook output