Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 03973056a08d1694cf1c819eb2e8b9557650f70e authored by Junio C Hamano on 13 November 2013, 20:59:31 UTC
Git 1.8.5-rc2
Tip revision: 0397305
test-read-cache.c
#include "cache.h"

int main (int argc, char **argv)
{
	int i, cnt = 1;
	if (argc == 2)
		cnt = strtol(argv[1], NULL, 0);
	for (i = 0; i < cnt; i++) {
		read_cache();
		discard_cache();
	}
	return 0;
}
back to top