From: Andreas Schwab Date: Tue, 08 May 2012 17:46:46 GMT Subject: Re: git-scm.com refresh Message-ID: In-Reply-To: <7vlil2wr8k.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > I encountered another example yesterday after sending the above message > [*1*]. I was fixing one small bug, and had a commit that updates code and > adds a test vector. It is a single commit on top of the current branch > tip, which allegedly as a buggy code. > > Then I wanted to double check that the bug really existed before the fix. > > git checkout HEAD^ > git show @{-1} t/ | git apply Alternative: git checkout @{-1} t/ Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."