Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git branches and compilation
- X-seq: zsh-workers 31482
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: git branches and compilation
- Date: Mon, 17 Jun 2013 12:57:35 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=llW6p4xwhNKHgxKqaiSCfyBDgvFz3hMVdpkXf7n4rbU=; b=YJheGK3u3Lc8kz561j/rcjeMZqF1nMTI+hIldEXWQDnq9+u2l5ulhiW6PefvuYOpHD 7Swq4A+XQR8hstOKjalBj/RGT78LUPtRT7tuFHGe/s2q8gQifDE9SfzUt0G3f+8JNlYU 73zk3x2HelFVxYRGQim7bsbFGEEnUKpYTbI2otKKjNYn+xvnLhgiuz5kujLgR1gdC1UK RV/DRyRFTfJrc4TLMs5FNvGzPSfZo460plNzvWaenN/BYzCJsHKKTWrevjN9wa4x99SI lC+Z0EWY84hfTrUY3Vx1NxEazG54HOHOwkKnMF4C6syEq2qs/c/xqTBn6I5XBcuy8reg gr9Q==
- In-reply-to: <130615124610.ZM12323@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <130615124610.ZM12323@torch.brasslantern.com>
On 15 June 2013 21:46, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Saturday, May 18, 2013, Phil Pennock wrote:
>
>> On 2013-05-18 at 16:24 -0700, Bart Schaefer wrote:
>> > (One of the few things I'm finding annoying about git is that
>> > a cloned repository doesn't preserve file timestamps.)
>>
>> There's a post-checkout hook [...]
>
> Having been annoyed a couple of times by things not recompiling when a
> different branch is checked out (especially the texinfo inputs in Doc/,
> leading to reams of bad node errors when doing "make info") I dug into
> this a bit further and found "metastore".
>
> http://david.hardeman.nu/software.php
>
> It's available as a Debian package and seems so far to do what I want,
> although I haven't really been able to test it thoroughly because no one
> else has pushed anything in the past couple of days.
I don't quite understand the purpose... When you change branches you want
the source files to have an updated mtime, otherwise they will not be newer
than the build files of the previously checked out branch and make will not
rebuild. So what git does is what you usually want for source code -> "the
files on disk changed so rebuild". How does setting the timestamps older
help?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author