Re: Keeping the file modification date with git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 28, 2011 at 08:49:39PM +0100, Ronan Keryell wrote:

> After heavily using git for code development, we plan to use it for
> administrative storage and I need to keep the modification date
> of the files.
> [...]
> So I'm envisioning different solutions:
> 
> - it is already done. I have missed this. :-) But would be great. :-)

Nope. The tree format does not have a date field.

> - giving up. Not an option :-)

Right. :)

> - it is added to git core functions because it is quite useful for some
>   people. Too time-consuming for me since I'm not a git developer... But
>   someone else could do this...

Nope. That would require changing one of the fundamental data structures
of git (the tree object) and is not likely to happen for a variety of
reasons (mostly it becomes a performance hit and a compatibility issue
when the majority of people don't even care about this issue).

> - add this concept aside. For example, just as there are .gitignore or
>   .gitattributes files, we could have a .gitdates that would store in a
>   human-readable manner the modification time of the files in its
>   directory.

Yep, this is a good solution. Check out metastore:

  http://david.hardeman.nu/software.php

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]