Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [BUG] Git won't commit

From: Michael Witten <hidden>
Date: 2016-06-15 22:51:48

On Fri, Aug 12, 2011 at 17:13, Fabricio Nascimento [off-list ref] wrote:
Hello Everybody,

Hope this is the right place to send this bug report.

It just appeared today, last time I've made a successful commit was 3 days
ago. Now every commit, in no matter which repository I have (I've tried old
ones, cloned today, github ones etc) fails with the following message.

[master 09-mapas] git commit
fatal: could not read 'template': No such file or directory

It happens both with the stock git binary that came with Xcode 4.1 on OSX
Lion (1.7.4.4) [/usr/local/bin/git], and the homebrew version (1.7.6)
[/usr/bin/git].

I haven't changed much of my system during those days besides installing
macports and tinycdb (with ports). Don't see any close relation, both
tinycdb and macports were removed.

Curiously, it works well with the git binary that comes with Github.app for
mac, whose version is 1.7.4.
What does the following output for you?

  git config --get commit.template
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help