Revision 360f852d249f365009b63cab70b50d6f5b5c65e7 authored by Junio C Hamano on 08 April 2014, 19:07:06 UTC, committed by Junio C Hamano on 08 April 2014, 19:07:06 UTC
* mm/status-porcelain-format-i18n-fix: status: disable translation when --porcelain is used
test-index-version.c
#include "cache.h"
int main(int argc, char **argv)
{
struct cache_header hdr;
int version;
memset(&hdr,0,sizeof(hdr));
if (read(0, &hdr, sizeof(hdr)) != sizeof(hdr))
return 0;
version = ntohl(hdr.hdr_version);
printf("%d\n", version);
return 0;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...