From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Rast Subject: Re: git status: small difference between stating whole repository and small subdirectory Date: Mon, 20 Feb 2012 20:59:55 +0100 Message-ID: <87wr7hz35w.fsf@thomas.inf.ethz.ch> References: <8762f9k5sg.fsf@thomas.inf.ethz.ch> <20120215190318.GA5992@sigill.intra.peff.net> <20120216192001.GB4348@sigill.intra.peff.net> <20120217203755.GA30114@sigill.intra.peff.net> <7vaa4hrtbe.fsf@alter.siamese.dyndns.org> <20120217222912.GC31830@sigill.intra.peff.net> <20120220140653.GC5131@sigill.intra.peff.net> <87ty2l38ay.fsf@thomas.inf.ethz.ch> <7vmx8dl1ln.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Jeff King , Piotr Krukowiecki , Git Mailing List , Nguyen Thai Ngoc Duy To: Junio C Hamano X-From: git-owner@vger.kernel.org Mon Feb 20 21:00:06 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzZP0-00029f-PJ for gcvg-git-2@plane.gmane.org; Mon, 20 Feb 2012 21:00:03 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879Ab2BTT76 (ORCPT ); Mon, 20 Feb 2012 14:59:58 -0500 Received: from edge20.ethz.ch ([82.130.99.26]:46736 "EHLO edge20.ethz.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134Ab2BTT75 (ORCPT ); Mon, 20 Feb 2012 14:59:57 -0500 Received: from CAS20.d.ethz.ch (172.31.51.110) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 20 Feb 2012 20:59:54 +0100 Received: from thomas.inf.ethz.ch.ethz.ch (129.132.153.233) by CAS20.d.ethz.ch (172.31.51.110) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 20 Feb 2012 20:59:55 +0100 In-Reply-To: <7vmx8dl1ln.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Mon, 20 Feb 2012 11:57:24 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Originating-IP: [129.132.153.233] Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano writes: > Thomas Rast writes: > >> test_expect_failure 'checkout gives cache-tree' ' >> git checkout HEAD^ && >> test_shallow_cache_tree >> ' > > Depending on what state you start the checkout from, that is not a valid > test. Some form of "git reset" before the checkout to ensure the initial > state is needed. Oh, I was just quoting what we already had at the end of t0090 since 4eb0346f. The test preceding it runs 'git reset --hard'. -- Thomas Rast trast@{inf,student}.ethz.ch