Re: Kernel SCM saga..

Paul Jackson
2005-04-09T15:42:35Z

Linus wrote:
> then git will open have exactly _one_
> file (no searching, no messing around), which contains absolutely nothing
> except for the compressed (and SHA1-signed) old contents of the file. It
> obviously _has_ to do that, because in order to know whether you've
> changed it, it needs to now compare it to the original.

I must be missing something here ...

If the stat shows a possible change, then you shouldn't have to open the
original version to determine if it really changed - just compute the
SHA1 of the new file, and see if that changed from the original SHA1.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@engr.sgi.com> 1.650.933.1373, 1.925.600.0401