Staging
v0.5.1
https://github.com/git/git
Revision 0b65a8dbdb38962e700ee16776a3042beb489060 authored by Junio C Hamano on 06 June 2016, 21:29:32 UTC, committed by Junio C Hamano on 06 June 2016, 21:29:32 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1676827
Raw File
Tip revision: 0b65a8dbdb38962e700ee16776a3042beb489060 authored by Junio C Hamano on 06 June 2016, 21:29:32 UTC
Git 2.8.4
Tip revision: 0b65a8d
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