]> git.ipfire.org Git - thirdparty/git.git/blame - show-rev-cache.c
[PATCH] Build commands through object files
[thirdparty/git.git] / show-rev-cache.c
CommitLineData
8f3f9b09
JH
1#include "cache.h"
2#include "rev-cache.h"
3
4static char *show_rev_cache_usage =
5"git-show-rev-cache <rev-cache-file>";
6
7int main(int ac, char **av)
8{
9 while (1 < ac && av[0][1] == '-') {
10 /* do flags here */
11 break;
12 ac--; av++;
13 }
14 if (ac != 2)
15 usage(show_rev_cache_usage);
16
17 return read_rev_cache(av[1], stdout, 1);
18}