Am 27.01.2010, 07:11 Uhr, schrieb Sisyphus:
Hi,
This might be a general 'git' issue rather than something specific to
Cygwin. (The only git I have used is Cygwin's git - version 1.5.4.)
Yes it is a generic git issue.
When I try to 'git commit' my amendments I often get hit with "*
trailing whitespace (line xxx)" errors.
Configure your editor to not leave whitespace at the end of lines
(sometimes the features are named flowed mode or soft line breaks or
similarly, not always obvious).
Firstly, I'm wondering what's wrong with having whitespace at the end of
a line ? Why should it prevent changes from being committed ?
Non-printable characters that generate bogus diffs and hence make merging
more difficult than necessary.
Secondly, what's the best way to deal with this ? Can this check be
easily disabled ?
Yes, check man git-config.
Please ask further questions on this topic on the git@ list.
--
Matthias Andree
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple