[BUG] Git won't commit

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

[BUG] Git won't commit

From: Fabricio Nascimento <hidden>
Date: 2016-06-15 22:51:48

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.



--
View this message in context: http://git.661346.n2.nabble.com/BUG-Git-won-t-commit-tp6681082p6681082.html
Sent from the git mailing list archive at Nabble.com.

Re: [BUG] Git won't commit

From: Fabricio Nascimento <hidden>
Date: 2016-06-15 22:51:48

I have installed an stock version of git 1.7.6 from here, and I've got the
same problem.

http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.6-x86_64-snow-leopard.dmg&can=3&q=

I've forgot to mention but I've updated all homebrew formulas during this
past days too, so it might be that previously I had a homebrew version of
git whose version where below or equal 1.4, and that something changed
causing this error now. 

--
View this message in context: http://git.661346.n2.nabble.com/BUG-Git-won-t-commit-tp6681082p6681098.html
Sent from the git mailing list archive at Nabble.com.

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