Subject: Bug: file named - on git commit

From: Rene Moser <[email-masked]>
Date: Mon, 28 Jan 2013 11:38:56 +0100

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é