From: Rene Moser <mail@renemoser.net>
To: git@vger.kernel.org
Subject: Bug: file named - on git commit
Date: Mon, 28 Jan 2013 11:38:56 +0100 [thread overview]
Message-ID: <51065540.1090007@renemoser.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
Hi
Found a little issue in git version 1.7.9.5 if a file named "-", causing
"git commit" to read from stdin.
(So you must hit ctrl-d or ctrl-c to finish the commit.)
Everything looks ok to me after the commit. Other users reported to be
fixed in 1.8.1.1 but haven't it tested myself.
This does not work:
mkdir tmp && cd tmp;
echo foo >./-;
git init; git add .;
git commit -m "is this a bug?"
Kind regards
René
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next reply other threads:[~2013-01-28 10:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 10:38 Rene Moser [this message]
2013-01-28 10:56 ` Bug: file named - on git commit Matthieu Moy
2013-01-28 10:58 ` Duy Nguyen
2013-01-28 11:05 ` Thomas Rast
2013-01-28 11:19 ` [CLOSED FIXED] " Rene Moser
2013-01-28 20:41 ` Jonathan Nieder
2013-01-28 20:51 ` Junio C Hamano
2013-01-28 21:01 ` Junio C Hamano
2013-02-04 17:43 ` Junio C Hamano
2013-02-04 19:32 ` Jonathan Nieder
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=51065540.1090007@renemoser.net \
--to=mail@renemoser.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).