]> git.ipfire.org Git - thirdparty/git.git/blob - show-rev-cache.c
receive-pack hooks updates.
[thirdparty/git.git] / show-rev-cache.c
1 #include "cache.h"
2 #include "rev-cache.h"
3
4 static char *show_rev_cache_usage =
5 "git-show-rev-cache <rev-cache-file>";
6
7 int 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 }