Messages in this thread | | | Date | Sat, 9 Apr 2005 08:40:03 -0700 | From | Paul Jackson <> | Subject | Re: Kernel SCM saga.. |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |