Re: Bug: file named - on git commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 28, 2013, 20:51 UTC
- Message-ID
- <7vy5fduj2u.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130128204140.GA7759@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 16 quoted lines
> Thomas Rast wrote: >> Rene Moser <mail@renemoser.net> writes: > >>> 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.) > [...] >> This was fixed by Junio around 4682d85 (diff-index.c: "git diff" has no >> need to read blob from the standard input, 2012-06-27), which is >> included starting with v1.7.12 and the v1.7.11.3 maint release. Please >> upgrade. > > Should upgrade-averse folks stuck on 1.7.10.y (like Debian 7.0, which > is currently in the release candidate stage) take this fix? Do you > happen to know of any other fixes such people would want?
FYI, the fix referred to in this thread are three-patch series that forked from 1.7.6.6, so it should be trivial to merge it even to such an old version.
The topic-branch workflow shines ;-)