Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: bf570303153902ec3d85570ed24515bcf8948848 authored by Junio C Hamano on 10 August 2005, 21:43:08 UTC
GIT 0.99.4.
Tip revision: bf57030
show-rev-cache.c
#include "cache.h"
#include "rev-cache.h"

static char *show_rev_cache_usage =
"git-show-rev-cache <rev-cache-file>";

int main(int ac, char **av)
{
	while (1 < ac && av[0][1] == '-') {
		/* do flags here */
		break;
		ac--; av++;
	}
	if (ac != 2)
		usage(show_rev_cache_usage);

	return read_rev_cache(av[1], stdout, 1);
}
back to top