diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-28 10:32:03 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-29 08:18:30 -0500 |
commit | 7099ba353ed5faef37f44c9edf57e5c76a9902f1 (patch) | |
tree | 24bb6eb568513a0489076d880571b9788ce642b2 /src/cli/cmd.h | |
parent | 6902b9da29e6ac06bc72a653e3eb82ea7069a12c (diff) | |
download | libgit2-ethomson/cmake5.tar.gz |
cli: add `cat-file` commandethomson/cmake5
Introduce a simple command that emulates `git cat-file`.
Diffstat (limited to 'src/cli/cmd.h')
-rw-r--r-- | src/cli/cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli/cmd.h b/src/cli/cmd.h index 816614efc..cc1743ed2 100644 --- a/src/cli/cmd.h +++ b/src/cli/cmd.h @@ -25,6 +25,7 @@ extern const cli_cmd_spec cli_cmds[]; extern const cli_cmd_spec *cli_cmd_spec_byname(const char *name); /* Commands */ +extern int cmd_cat_file(int argc, char **argv); extern int cmd_help(int argc, char **argv); #endif /* CLI_cmd_h__ */ |