]>
git.ipfire.org Git - thirdparty/git.git/blob - test-index-version.c
3 int main(int argc
, char **argv
)
5 struct cache_header hdr
;
8 memset(&hdr
,0,sizeof(hdr
));
9 if (read(0, &hdr
, sizeof(hdr
)) != sizeof(hdr
))
11 version
= ntohl(hdr
.hdr_version
);
12 printf("%d\n", version
);