From: Jiri Olsa Date: Tue, 10 Mar 2009 19:34:28 GMT Subject: [BUG] - git-read-tree segfaults Message-ID: <35476bd20903101234q71bc520fh18828d7170a4a2f5@mail.gmail.com> Hi, I was following the git core tutorial and git-read-tree got me segfault. I accidentaly executed the git-read-tree without "-m -u" options and got segfault. I can reproduce with the latest git using following script. ----------------------------------------------- #!/bin/sh GIT=$1 rm -rf crash; mkdir -p crash; cd crash $GIT init echo "xxx" > xxx $GIT add xxx $GIT commit -m "xxx" $GIT checkout -b yyy echo "yyy" > yyy $GIT add yyy $GIT commit -m "yyy" echo "yyy1" >> yyy $GIT commit -a -m "yyy1" $GIT checkout master echo "xxx1" >> xxx $GIT commit -a -m "xxx1" mb=$($GIT merge-base HEAD yyy) $GIT read-tree $mb HEAD yyy ----------------------------------------------- regards, jirka