Re: update-index --assume-unchanged doesn't make things go fast | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Jakub Narebski <jnareb@xxxxxxxxx> writes:
> By the way, from time to time there on this mailing list is idea
> to add entries for directories in the index. This could help situation
> like yours, tracking emty directories, faster operations when some trees
> are unchanged, subtree <-> subproject changes.
Tracking empty directories might be helped by having an explicit entry in
the index (even though it may not be the only possible implementation). I
however suspect you are overvaluing it for "some trees are unchanged"
case:
$ mkdir -p a/b
$ stat a | grep Modify
Modify: 2008-06-27 11:38:13.000000000 -0700
$ >a/b/c
$ stat a | grep Modify
Modify: 2008-06-27 11:38:13.000000000 -0700
$ >a/d
$ stat a | grep Modify
Modify: 2008-06-27 11:38:32.000000000 -0700
You have to descend into the leaf level anyway and directory mtime does
not allow you to check that much.
--
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
[Newbies FAQ] [Kernel List] [Site Home] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [DDR & Rambus] [Linux Resources]