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

Strange bug on MacOSX - can anyone reproduce?

From
RLRoland Lezuo <roland.lezuo@theobroma-systems.com>
Date
Apr 18, 2008, 09:04 UTC
Message-ID
<3F7A8E3C-486E-464D-9403-7C08045A2C51@theobroma-systems.com>
Hi!

I've a very strange bug on MacOSX 10.5 on a case sensitive HFS+ filesystem.

git very regular show the following behavior:

git op fails with an "error: Unable to append to $(FILE)" message, a "cat $(FILE)" and the same git op solves the problem deterministically.

Here is an example:
rlezuo@rlezuo:~/Projects/XXX/documentation$ git pull
remote: Counting objects: 100, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 74 (delta 59), reused 0 (delta 0)
Unpacking objects: 100% (74/74), done.
 From git@YYY.theobroma-systems.com:XXX/documentation
    cad9845..374115b  fop        -> origin/fop
error: Unable to append to .git/logs/refs/remotes/origin/master
    67f2dad..5812471  master     -> origin/master
Merge made by recursive.
error: Unable to append to .git/logs/refs/heads/master
fatal: Cannot update the ref 'HEAD'.
rlezuo@rlezuo:~/Projects/XXX/documentation$ git pull
error: Unable to append to .git/logs/refs/remotes/origin/master
 From git@YYY.theobroma-systems.com:XXX/documentation
    67f2dad..5812471  master     -> origin/master
Merge made by recursive.
error: Unable to append to .git/logs/refs/heads/master
fatal: Cannot update the ref 'HEAD'.

rlezuo@rlezuo:~/Projects/XXX/documentation$ cat .git/logs/refs/heads/ master ...

rlezuo@rlezuo:~/Projects/XXX/documentation$ git pull
error: Unable to append to .git/logs/refs/remotes/origin/master
 From git@YYY.theobroma-systems.com:XXX/documentation
    67f2dad..5812471  master     -> origin/master
Merge made by recursive.
error: Unable to append to .git/logs/HEAD
fatal: Cannot update the ref 'HEAD'.

rlezuo@rlezuo:~/Projects/XXX/documentation$ cat .git/logs/HEAD ...

rlezuo@rlezuo:~/Projects/XXX/documentation$ git pull
error: Unable to append to .git/logs/refs/remotes/origin/master
 From git@YYY.theobroma-systems.com:XXX/documentation
    67f2dad..5812471  master     -> origin/master
Merge made by recursive.
  ...
  HLD/csm/Random.dita                                |   14 ++++----
  HLD/csm/monitor.dita                               |   13 +++++---
  HLD/introduction/references.dita                   |   34 +++++++++++ 
+++------
  ST/introduction/st_references.dita                 |   29 +++++++++++ 
++++++
  16 files changed, 133 insertions(+), 54 deletions(-)
  create mode 100644 FS/hardware_spec_overview/ 
random_number_generator.dita
can anyone reproduce this? Is this a git bug or is this a OSX bug?
regards
DI Roland Lezuo
Theobroma Systems Design und Consulting GmbH
Gutheil-Schoder Gasse 17, 1230 Wien, Austria
Phone: +43 1  2369893-405, Fax: +43 1 2369893-9406
http://www.theobroma-systems.com
Message 1 of 1 in “Strange bug on MacOSX - can anyone reproduce?”
  1. Roland LezuoApr 18, 2008

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.