Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 02a110ad435a6ccda648f09f94e546dfd7bdd0ac authored by Jonathan Nieder on 26 September 2013, 22:01:41 UTC
Git 1.8.4.1
Tip revision: 02a110a
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