git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: CVS import [SOLVED]

From
Ferry Huberts (Pelagic) <ferry.huberts@pelagic.nl>
Date
Feb 16, 2009, 20:32 UTC
Message-ID
<60044.192.168.0.51.1234816333.squirrel@hupie.xs4all.nl>
In-Reply-To
<7291.77.61.241.211.1234790434.squirrel@hupie.xs4all.nl>
On Mon, February 16, 2009 14:20, Ferry Huberts (Pelagic) wrote:
Show 9 quoted lines
> I solved it:
>
> it has to do with the
> core.autocrlf=input
> core.safecrlf=true
>
> settings I had in my global config.
> Maybe the manual page should warn against having these defined?
>

I'm working on it now, and did some more testing: it's actually the safecrlf setting, not the autocrlf option. Which leaves me with some questions of what to do exactly:

 autocrlf safecrlf
1 false    false
2 false     warn
3 false     true
4 input    false
5 input     warn
6 input     true
7 true     false
8 true      warn
9 true      true

1- git ignores the safecrlf flag; obviously acceptable 2- git ignores the safecrlf flag; so acceptable 3- git ignores the safecrlf flag, so acceptable 4- seems acceptable to me 5- seems acceptable to me 6- unacceptable 7- seems acceptable to me 8- seems acceptable to me 9- unacceptable

So, 6 and 9 (safecrlf==true) are definitely unacceptable. 1-3 are definitely acceptable. How about the others? Should these produce warnings? Should the user use a 'force' option to make the import work (and acknowledge that he's calling for trouble) Should we enforce some setting? Which flags/setting?

Input appreciated :-)
Ferry
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 7 of 26 in “CVS import”
  1. Ferry Huberts (Pelagic)Feb 16, 2009
  2. Ferry Huberts (Pelagic)Feb 16, 2009
  3. Johannes SchindelinFeb 16, 2009
  4. Johannes SchindelinFeb 16, 2009
  5. Ferry Huberts (Pelagic)Feb 16, 2009
  6. Johannes SchindelinFeb 16, 2009
  7. Ferry Huberts (Pelagic)Feb 16, 2009
  8. Johannes SchindelinFeb 16, 2009
  9. Ferry Huberts (Pelagic)Feb 17, 2009
  10. Johannes SchindelinFeb 17, 2009
  11. Ferry Huberts (Pelagic)Feb 17, 2009
  12. Jeff KingFeb 20, 2009
  13. Ferry Huberts (Pelagic)Feb 20, 2009
  14. autocrlf=input and safecrlf (was Re: CVS import [SOLVED])Jeff King, Feb 20, 2009
  15. Ferry Huberts (Pelagic)Feb 20, 2009
  16. Jeff KingFeb 23, 2009
  17. Ferry Huberts (Pelagic)Feb 23, 2009
  18. Jeff KingFeb 23, 2009
  19. Ferry Huberts (Pelagic)Feb 23, 2009
  20. Jeff KingFeb 23, 2009
  21. Ferry Huberts (Pelagic)Feb 23, 2009
  22. Jeff KingFeb 24, 2009
  23. Ferry Huberts (Pelagic)Feb 24, 2009
  24. Jeff KingFeb 25, 2009
  25. Ferry Huberts (Pelagic)Feb 25, 2009
  26. Jeff KingFeb 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.