Staging
v0.5.1
https://github.com/git/git
Revision c490a6079021a3343ca5b042b37258858fdefbfc authored by Junio C Hamano on 25 July 2013, 02:29:07 UTC, committed by Junio C Hamano on 25 July 2013, 02:29:07 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9e8a901
Raw File
Tip revision: c490a6079021a3343ca5b042b37258858fdefbfc authored by Junio C Hamano on 25 July 2013, 02:29:07 UTC
Git 1.8.4-rc0
Tip revision: c490a60
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