Bug 497600 - Change of line endings confirmation
Summary: Change of line endings confirmation
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-09 02:38 EDT by Ed Willink CLA
Modified: 2016-07-09 02:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2016-07-09 02:38:51 EDT
Line endings and encodings are a known pain (and I am not fond of CM tools that 'improve' content).

Suggest: EGIT request confirmation if text files are committed with inconsistent staged/indexed usage. In addition to OK/Cancel, the confirmation could offer additional tools prior to commit.

a) change project(s) line endings preference - Linux encouraged
b) change project(s) encodings preference - UTF-8 encouraged
c) convert project files line endings
d) convert committed files line endings

If the staged/indexed files are a mess, just offer a report of the mess (unless you feel like offering a more substantial clean-up-the-mess wizard).

i.e. you offer a more predictable auto-crlf functionality as an interactive tool rather than depending on users understanding the very hard to comprehend auto-crlf options.