diff options
| author | Patrick Steinhardt <ps@pks.im> | 2019-06-27 09:18:19 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2019-07-11 08:28:55 +0200 |
| commit | 8ee3d39afd7dbcfed470f4b315b16d8ad62b7374 (patch) | |
| tree | 9688145652986de2d769d5f921eeef3d7bd71093 /examples/common.h | |
| parent | df54c7fb02b8bcdc6441f38dbf783cd344575f77 (diff) | |
| download | libgit2-8ee3d39afd7dbcfed470f4b315b16d8ad62b7374.tar.gz | |
examples: implement config example
Implement a new example that resembles git-config(1). Right now,
this example can both read and set configuration keys, only.
Diffstat (limited to 'examples/common.h')
| -rw-r--r-- | examples/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h index c1d444e1d..724a5c04f 100644 --- a/examples/common.h +++ b/examples/common.h @@ -39,6 +39,7 @@ extern int lg2_blame(git_repository *repo, int argc, char **argv); extern int lg2_cat_file(git_repository *repo, int argc, char **argv); extern int lg2_checkout(git_repository *repo, int argc, char **argv); extern int lg2_clone(git_repository *repo, int argc, char **argv); +extern int lg2_config(git_repository *repo, int argc, char **argv); extern int lg2_describe(git_repository *repo, int argc, char **argv); extern int lg2_diff(git_repository *repo, int argc, char **argv); extern int lg2_fetch(git_repository *repo, int argc, char **argv); |
