Staging
v0.5.1
https://github.com/git/git
Revision 16018ae5fb368151f3eff13730cf089b63f41962 authored by Junio C Hamano on 27 April 2015, 19:25:36 UTC, committed by Junio C Hamano on 27 April 2015, 19:25:36 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ad34ad6
Raw File
Tip revision: 16018ae5fb368151f3eff13730cf089b63f41962 authored by Junio C Hamano on 27 April 2015, 19:25:36 UTC
Git 2.3.7
Tip revision: 16018ae
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