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

[BUG] git branch --merged $unknown_checksum segfaults

From
BRBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date
Feb 27, 2012, 12:26 UTC
Message-ID
<20120227122609.GA26981@mx.loc>
Hi,

I hope this minor buglet is not known already.. I did not look further.

Seen with $ dpkg-query -W git git 1:1.7.2.5-3 and git 1:1.7.9-1 cheers,

git init
git branch --merged 0000000000000000000000000000000000000000
Segmentation fault
touch f
git commit -m one f
[master (root-commit) f11ad60] one
 0 files changed, 0 insertions(+), 0 deletions(-)
  create mode 100644 f
git branch --merged $((echo "obase=16;ibase=16;$(git log -n1 --format='%H'| tr '[[:lower:]]' '[[:upper:]]')+1") | bc)
Segmentation fault
Next: Carlos Martín Nieto
Message 1 of 8 in “[BUG] git branch --merged $unknown_checksum segfaults”
  1. Bernhard Reutner-FischerFeb 27, 2012
  2. branch: don't assume the merge filter ref existsCarlos Martín Nieto, Feb 27, 2012
  3. Junio C HamanoFeb 27, 2012
  4. Jeff KingFeb 27, 2012
  5. Junio C HamanoFeb 27, 2012
  6. Jeff KingFeb 27, 2012
  7. Carlos Martín NietoFeb 28, 2012
  8. Junio C HamanoFeb 28, 2012

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.