All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Quim K. Holland" <qkholland@gmail.com>
To: git@vger.kernel.org
Subject: git cat-file blob does not convert crlf
Date: Thu, 27 Nov 2008 01:34:56 +0600	[thread overview]
Message-ID: <20081127013456.6117@qkholland.gmail.com> (raw)

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.

             reply	other threads:[~2008-11-26 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 19:34 Quim K. Holland [this message]
2008-11-26 19:42 ` git cat-file blob does not convert crlf Junio C Hamano
2008-11-27  1:41 ` Johannes Schindelin

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=20081127013456.6117@qkholland.gmail.com \
    --to=qkholland@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.