Git development
 help / color / mirror / Atom feed
* git cat-file blob does not convert crlf
@ 2008-11-26 19:34 Quim K. Holland
  2008-11-26 19:42 ` Junio C Hamano
  2008-11-27  1:41 ` Johannes Schindelin
  0 siblings, 2 replies; 3+ messages in thread
From: Quim K. Holland @ 2008-11-26 19:34 UTC (permalink / raw)
  To: git

I think git is buggy.
I wanted to discard the changes I made to my file by checking out a copy from the last commit, so I said
% git cat-file blob HEAD:my-file >my-file
But this does not respect core.autocrlf and the file becomes one long line.
Also it feels stupid that I have to say my-file twice at the command prompt.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-27  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 19:34 git cat-file blob does not convert crlf Quim K. Holland
2008-11-26 19:42 ` Junio C Hamano
2008-11-27  1:41 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox