public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: "Torsten Bögershausen" <tboegi@web•de>
Cc: Yue Lin Ho <yuelinho777@gmail•com>,
	 git@vger•kernel.org,  msysGit <msysgit@googlegroups•com>
Subject: Re: Re: The different EOL behavior between libgit2-based software and official Git
Date: Fri, 20 Jun 2014 09:33:08 -0700	[thread overview]
Message-ID: <xmqqmwd7ee2j.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <53A40DEC.4050902@web.de> ("Torsten Bögershausen"'s message of "Fri, 20 Jun 2014 12:33:16 +0200")

Torsten Bögershausen <tboegi@web•de> writes:

tb@Linux:~/EOL_Test/TestAutoCrlf$ t=LF.txt  &&  rm -f $t &&  git -c core.eol=CRLF checkout $t  && od -c  $t
0000000   L   i   n   e       1  \n   l   i   n   e       (   2   )  \n
0000020   l   i   n   e       3   .  \n   t   h   i   s       i   s    
0000040   l   i   n   e       4  \n   l       i       n       e       N
0000060   o   .       5  \n   L   i   n   e       N   u   m   b   e   r
0000100       6  \n  \n

In Documentation/config.txt, we find:

    core.eol::
            Sets the line ending type to use in the working directory for
            files that have the `text` property set.  Alternatives are ...

Does that file $t in your practice "have the `text` property set"?

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups•com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups•com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups•com.
For more options, visit https://groups.google.com/d/optout.

  reply	other threads:[~2014-06-20 16:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19  2:59 The different EOL behavior between libgit2-based software and official Git Yue Lin Ho
2014-06-19  6:39 ` Torsten Bögershausen
2014-06-19  7:25   ` Yue Lin Ho
2014-06-20  6:56   ` Torsten Bögershausen
2014-06-20  8:30     ` Yue Lin Ho
2014-06-20 10:33       ` [msysGit] " Torsten Bögershausen
2014-06-20 16:33         ` Junio C Hamano [this message]
2014-06-22  6:46           ` Torsten Bögershausen
2014-06-23 17:29             ` Junio C Hamano
2014-06-20  8:44     ` Yue Lin Ho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqmwd7ee2j.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=msysgit@googlegroups$(echo .)com \
    --cc=tboegi@web$(echo .)de \
    --cc=yuelinho777@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox