From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10486 invoked by alias); 19 May 2013 05:37:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31414 Received: (qmail 19472 invoked from network); 19 May 2013 05:36:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201210; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=OJ4/EmB+/dqyahmDCmn7aYyu4sq7WgQnOLDGc5lxkGg=; b=umRLHFxQ2gG9ABKTF5fpr6XuGc+WTnPn4vGaaUtjUTLCGBQzCO6xR9bUbwslT/FfXCnqsUv7vWeTYQNncOWoXjxc8fPiQLTr7zhuE/ClsfhTOrTwgTalxErAhuavohX3ZkN5paIqfn5OwLtX3DiaACyhcyGXjvQsP0qHu2iDrUE=; Date: Sun, 19 May 2013 01:36:50 -0400 From: Phil Pennock To: Bart Schaefer Cc: Zsh hackers list Subject: Re: Quick local CVS change scan, and bug in read? Message-ID: <20130519053650.GA93384@redoubt.spodhuis.org> Mail-Followup-To: Bart Schaefer , Zsh hackers list References: <20130519012902.GA83443@redoubt.spodhuis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 2013-05-18 at 21:26 -0700, Bart Schaefer wrote: > Thanks. Based on the discussion there, AIUI the hook sets the timestamp to > the commit time? Short version: yes, with some hand-waving to cover "what you meant" vs "pedantic". "git help show" and in "PRETTY FORMATS" the "format:" section; %ai/%at are the author timestamp; there's two timestamps, author and committer, each of which can be overriden by env variables ($GIT_AUTHOR_DATE, $GIT_COMMITTER_DATE). "commit time" changes if you rebase and is used for finding when something happened in a particular branch's history. "author time" is when the change is recorded as having first been made. So the patch updates the timestamps on the files to the time of the commit which last modified those files (not the timestamps on the files at the time that their changes were committed). > Indeed it does, thanks for the archeology. No problem. "git blame" ("git annotate") is nice, and since it only has to work locally it's blessedly fast. (If you've ever dealt with Perforce, you'll know how bad annotations can be ...) -Phil