git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug with `git branch HEAD` in a 'detached HEAD' state
@ 2013-08-15 20:50 Benoît Legat
  2013-08-15 20:58 ` Stefan Beller
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Legat @ 2013-08-15 20:50 UTC (permalink / raw)
  To: git

Hello everyone,

I think I have just found a bug in Git which basically occurs when I run 
`git log HEAD` in a detached HEAD state.
To reproduce it, just run
$ git init
...
$ touch tmp
...
$ git add tmp
$ git commit -m "tmp"
...
$ git checkout <commit_sha>
...
$ git branch HEAD
Segmentation fault (core dumped)

My version of git is the following
$ git --version
git version 1.8.1.2

If that helps (and even if it doesn't actually), I'm running ubuntu 
13.04 64-bit.

Benoît Legat

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

end of thread, other threads:[~2013-08-15 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 20:50 Bug with `git branch HEAD` in a 'detached HEAD' state Benoît Legat
2013-08-15 20:58 ` Stefan Beller

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).