From: Stefan Näwe Date: Wed, 25 Sep 2013 15:10:08 GMT Subject: Re: [Bug] git show crashes with deepened shallow clone Message-ID: <5242FCD0.8050900@atlas-elektronik.com> In-Reply-To: <5242F78C.5060607@atlas-elektronik.com> Am 25.09.2013 16:47, schrieb Stefan Näwe: > Just a quick report since I don't have time to bisect now (will do later > if no other gitster is faster...) Seems to be somewhere between v1.8.3.1 (OK) and v1.8.3.2 (not OK) !! > > When I execute the below script 'git show' crashes. 'git log --oneline -2' gives > for example: > > 3808bade5b76c4663ac4a3f751dc9f1ed0b08f2e three > error: Could not read 1e8777edeb2b7e757f74c789e679fc6c71073897 > fatal: Failed to traverse parents of commit 0aa4ef86004f5bb29f67e971d7963f5cf430c668 > > gdb backtrace of one run is attached. > It happens on 32-bit Debian (5.0.10), 64-bit openSUSE (12.2), and Windows XP with git 1.8.4 > on all systems. > > The help of 'git fetch' says: > > --depth= > > Deepen or shorten the history of a shallow repository created by git clone with > --depth= option (see git-clone(1)) to the specified number of commits from > the tip of each remote branch history. Tags for the deepened commits are not fetched. > -------------------------------------------------------------------------------^^^^^^^^^ > > But that's not true. The tag 'two' (from the script below) gets fetched when > deepening the repository. v1.8.3.1 fetches the tag also. Stefan -- ---------------------------------------------------------------- /dev/random says: Pobody's Nerfect! python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"