Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758065Ab1EMI0v (ORCPT ); Fri, 13 May 2011 04:26:51 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42921 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757797Ab1EMI0t (ORCPT ); Fri, 13 May 2011 04:26:49 -0400 Message-ID: <4DCCEB48.7030602@suse.cz> Date: Fri, 13 May 2011 10:26:48 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: matt mooney Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [Resend PATCH] package: Makefile: fix perf target bug References: <1d7d3b31c0da82ce8ce75778922155b7004a8f7e.1305224477.git.mfm@muteddisk.com> <4DCC4365.3030907@suse.cz> <4DCC4F05.7010306@suse.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 37 On 12.5.2011 23:38, matt mooney wrote: > On Thu, May 12, 2011 at 2:20 PM, Michal Marek wrote: >> On 12.5.2011 23:07, matt mooney wrote: >>> 2011/5/12 Michal Marek: >>>> Neither git archive not git rev-parse need the work tree, --git-dir=.. >>>> is sufficient. >>> >>> Are you sure? >> >> Yes. >> $ cd /tmp >> $ git --git-dir=$HOME/linux-2.6/.git rev-parse HEAD >> e0a04b11e4059cab033469617c2a3ce2d8cab416 >> > > You are right about that command, but it doesn't use the source tree. Yes, neither git rev-parse nor git archive use the work tree. That's what I tried to explain to you in my first mail. > Do a git --git-dir=$HOME/linux-2.6/.git status from /tmp and see what > happens. That's irrelevant, I only talked about archive and rev-parse. > So do you want me to send a new patch without --work-tree= in git rev-parse? And in git archive. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/