Hello Jack,

Jack Lloyd wrote:
> I could not say for certain, but from looking at the code implementing
> the status command it appears to respect the masks provided on the
> command line. Tracking the open syscalls using strace
> (http://linux.die.net/man/1/strace) also seemed to confirm this, mtn
> didn't open or stat any files outside of the paths specified.
> 
> One odd thing I noticed is that mtn will stat each file twice,
> right in a row.

Yeah, this is known and has been discussed before. Unfortunately I don't
remember the reason for calling stat() twice. Caching of the stat()
result has been considered, but argued against, because stat() should be
fast and simple enough.

Regards

Markus Wanner



_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to