Esteban A. Maringolo wrote:
2014-07-25 3:57 GMT-03:00 Hernán Morales Durand <[email protected]>:
  
There is no need to choose a default because before the file out is
executed, one could check the which OS the system is running.
And then switch to the proper line ending.
Is just a one-liner
    
Okay, OS line ending by default, but what I want is a way to override
current setting and use the one I like.

If you work both in Linux and Windows, normally you choose only one
(usually linux).
If you install git on Windows, it will ask you if you want to use OS
default or convert everything to a particular line ending when pushing
changes.

Regards,

Esteban A. Maringolo


  
When we have the libgit bindings, won't we be able to write direct to the git database (under .git), an by not touching the standard filesystem avoid dealing with platform line endings for our source code store?  Then maybe any line ending conversion by 'git' command-line tools for processing source outside of the image would then by of no concern to the image.
cheers -ben

Reply via email to