Make the sha1 of the index file go at the very end of the file.

This allows us to both calculate it and verify it faster.
This commit is contained in:
Linus Torvalds
2005-04-20 12:36:41 -07:00
parent 4990aadc4c
commit ca9be05421
2 changed files with 21 additions and 24 deletions

View File

@ -28,7 +28,6 @@ struct cache_header {
unsigned int hdr_signature;
unsigned int hdr_version;
unsigned int hdr_entries;
unsigned char sha1[20];
};
/*