git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] comments in grafts file broken in current master
@ 2006-04-16 12:35 Yann Dirson
  2006-04-16 21:26 ` [PATCH] reading $GIT_DIR/info/graft - skip comments correctly Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Dirson @ 2006-04-16 12:35 UTC (permalink / raw)
  To: GIT list

While looking at allowing empty lines in grafts files, I discovered
that comments had already been implemented.  However, current
git-read-tree segfaults when there is a comment line in info/grafts:

dwitch@gandelf:/export/work/yann/git/git$ cat .git/info/grafts 
c118c026e44f02c3dbad00d924285eef2340f700
# foo
dwitch@gandelf:/export/work/yann/git/git$ git-read-tree master
Segmentation fault


The commit introducing the problem is
5040f17eba15504bad66b14a645bddd9b015ebb7 (blame -S <ancestry-file>),
which changes quite some things in the grafts area.
    

BTW, after segfaulting, .git/index.lock is still there, and the
"unable to create new cachefile" is not so helpful - I had to strace
to see what was happenning.

Hope this helps,
-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-16 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 12:35 [BUG] comments in grafts file broken in current master Yann Dirson
2006-04-16 21:26 ` [PATCH] reading $GIT_DIR/info/graft - skip comments correctly Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).