36788ea4f2b7a71e7714ff7345e03aff522a3aeb
1#include "cache.h"
2#include "builtin.h"
3#include "parse-options.h"
4
5static const char * const builtin_range_diff_usage[] = {
6N_("git range-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"),
7N_("git range-diff [<options>] <old-tip>...<new-tip>"),
8N_("git range-diff [<options>] <base> <old-tip> <new-tip>"),
9NULL
10};
11
12int cmd_range_diff(int argc, const char **argv, const char *prefix)
13{
14 int creation_factor = 60;
15 struct option options[] = {
16 OPT_INTEGER(0, "creation-factor", &creation_factor,
17 N_("Percentage by which creation is weighted")),
18 OPT_END()
19 };
20
21 argc = parse_options(argc, argv, NULL, options,
22 builtin_range_diff_usage, 0);
23
24 return 0;
25}