git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] Git won't commit

From
Michael Witten <mfwitten@gmail.com>
Date
Aug 12, 2011, 17:30 UTC
Message-ID
<CAMOZ1BtxNSnncEJ6frEY0STgfS478krkpxXStP401WLPovb2Gw@mail.gmail.com>
In-Reply-To
<1313169225059-6681082.post@n2.nabble.com>
On Fri, Aug 12, 2011 at 17:13, Fabricio Nascimento <fabriciosn@gmail.com> wrote:
Show 21 quoted lines
> 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
Previous: Fabricio NascimentoNext: Michael Witten
Message 3 of 7 in “[BUG] Git won't commit”
  1. Fabricio NascimentoAug 12, 2011
  2. Fabricio NascimentoAug 12, 2011
  3. Michael WittenAug 12, 2011
  4. Michael WittenAug 13, 2011
  5. Jonathan NiederAug 13, 2011
  6. commit: clarify "could not read 'template'" messageJonathan Nieder, Aug 19, 2011
  7. Junio C HamanoAug 19, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.