Staging
v0.5.1
https://github.com/git/git
Revision be961c292f1d36097afa1690df68cf90f655c855 authored by Junio C Hamano on 31 January 2014, 22:16:06 UTC, committed by Junio C Hamano on 31 January 2014, 22:16:06 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e94ea16
Raw File
Tip revision: be961c292f1d36097afa1690df68cf90f655c855 authored by Junio C Hamano on 31 January 2014, 22:16:06 UTC
Git 1.9-rc2
Tip revision: be961c2
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