git and mtime

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roger Leigh
Subject: git and mtime
Date: Wednesday, November 19, 2008 - 4:37 am

Hi folks,

I'm using git to store some generated files, as well as their sources.
(This is in the context of Debian package development, where entire
upstream release tarballs are injected into an upstream branch, with
Debian releases merging the upstream branch, and adding the Debian
packaging files.)

The upstream release tarballs contains files such as
- yacc/lex code, and the corresponding generated sources
- Docbook/XML code, and corresponding HTML/PDF documentation

These are provided by upstream so that end users don't need these tools
installed (particularly docbook, since the toolchain is so flaky on
different systems).  However, the fact that git isn't storing the
mtime of the files confuses make, so it then tries to regenerate these
(already up-to-date) files, and fails in the process since the tools
aren't available.

Would it be possible for git to store the mtime of files in the tree?

This would make it possible to do this type of work in git, since it's
currently a bit random as to whether it works or not.  This only
started when I upgraded to an amd64 architecture from powerpc32,
I guess it's maybe using high-resolution timestamps.


Thanks,
Roger


P.S. The repo I'm working on here is at
     git://git.debian.org/git/collab-maint/gutenprint.git

--=20
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git and mtime, Roger Leigh, (Wed Nov 19, 4:37 am)
Re: git and mtime, Matthias Kestenholz, (Wed Nov 19, 5:22 am)
Re: git and mtime, Johannes Schindelin, (Wed Nov 19, 5:31 am)
Re: git and mtime, Arafangion, (Wed Nov 19, 5:37 am)
Re: git and mtime, Jakub Narebski, (Wed Nov 19, 6:29 am)
Re: git and mtime, Matthieu Moy, (Wed Nov 19, 7:54 am)
Re: git and mtime, Christian MICHON, (Wed Nov 19, 9:18 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 1:38 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 1:39 am)
Re: git and mtime, Johannes Schindelin, (Thu Nov 20, 3:34 am)
Re: git and mtime, Johannes Schindelin, (Thu Nov 20, 3:35 am)
Re: git and mtime, Matthieu Moy, (Thu Nov 20, 3:53 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 4:20 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 4:27 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 5:48 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 6:06 am)
Re: git and mtime, Randal L. Schwartz, (Thu Nov 20, 6:11 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 6:12 am)
Re: git and mtime, martin f krafft, (Thu Nov 20, 6:21 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 6:35 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 6:40 am)
Re: git and mtime, martin f krafft, (Thu Nov 20, 6:59 am)
Re: git and mtime, Johannes Schindelin, (Thu Nov 20, 7:07 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 7:15 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 7:22 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 7:50 am)
Re: git and mtime, Roger Leigh, (Thu Nov 20, 8:19 am)
Re: git and mtime, Kyle Moffett, (Thu Nov 20, 8:33 am)
Re: git and mtime, Andreas Ericsson, (Thu Nov 20, 8:37 am)
Re: git and mtime, Samuel Tardieu, (Thu Nov 20, 8:56 am)
Re: git and mtime, Daniel Barkalow, (Thu Nov 20, 10:59 am)
Re: git and mtime, Matthias Kestenholz, (Thu Nov 20, 11:36 am)
Re: git and mtime, Joey Hess, (Thu Nov 20, 12:24 pm)