Am 18.04.10 21:14, schrieb Derek Scherger: > On Sat, Apr 17, 2010 at 4:53 PM, Derek Scherger <de...@echologic.com > <mailto:de...@echologic.com>> wrote: > > How about something simple:just before writing out a new > _MTN/options read in the current one and see if there is any > difference between what is about to be written and what is already > written, then only write out new options if there are *actual* > changes. This should be entirely compatible with what we do now, but > will avoid affecting the last modification time when nothing is > actually changed. > > > Fixed in 5f00cba58b8c3feb72d6de28e94610a42e30465b. This has been bugging > me for a while too so thanks for the motivation Jack.
Heh, very cool, thanks Derek! Does this code change also fix the problem that _MTN/options is written out even if the command does not succeed? Thomas. -- GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel