Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 594730e980521310d88006d91f3f14ef5eff1e2b authored by Junio C Hamano on 10 March 2016, 19:13:13 UTC
Git 2.7.3
Tip revision: 594730e
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