From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262168AbVFUP6t (ORCPT ); Tue, 21 Jun 2005 11:58:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262161AbVFUP6C (ORCPT ); Tue, 21 Jun 2005 11:58:02 -0400 Received: from mail.dvmed.net ([216.237.124.58]:59047 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S262128AbVFUP4v (ORCPT ); Tue, 21 Jun 2005 11:56:51 -0400 Message-ID: <42B838BC.8090601@pobox.com> Date: Tue, 21 Jun 2005 11:56:44 -0400 From: Jeff Garzik User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Torvalds CC: Dave Airlie , linux-kernel@vger.kernel.org Subject: Re: git-pull-script on my linus tree fails.. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > I guess I can make the "git pull" script do that automatically (some other > scripts do, like "git commit", which also depends on having an up-to-date > index). Slight tangent... it would be nice if you would write a 2-line git-checkout-script, which provides the modern version of git-read-tree -m HEAD && git-checkout-cache -q -f -u -a Note that I do depend on this command blowing away working dir changes, but maybe you would want that to be a separate arg. Then you could add a "-u" arg, or somesuch, to the situations like git pull that want an up-to-date index. Jeff