summaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-08-11 23:42:45 +0100
committerGitHub <noreply@github.com>2019-08-11 23:42:45 +0100
commit5774b2b13468aa3c2e7e604dd348357f6842c56a (patch)
treeb545eff2095ad84acb3533db6e7dc2b3a8dd32cb /examples/common.h
parent42bacbc603bccf717b29cf603f825c9e6f5c1cf3 (diff)
parenta7d32d60c1fecef268100a85b6a0f8f8c824ea0e (diff)
downloadlibgit2-5774b2b13468aa3c2e7e604dd348357f6842c56a.tar.gz
Merge pull request #5113 from pks-t/pks/stash-perf
stash: avoid recomputing tree when committing worktree
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h
index bba83217b..2ad897bca 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -70,6 +70,7 @@ extern int lg2_remote(git_repository *repo, int argc, char **argv);
extern int lg2_rev_list(git_repository *repo, int argc, char **argv);
extern int lg2_rev_parse(git_repository *repo, int argc, char **argv);
extern int lg2_show_index(git_repository *repo, int argc, char **argv);
+extern int lg2_stash(git_repository *repo, int argc, char **argv);
extern int lg2_status(git_repository *repo, int argc, char **argv);
extern int lg2_tag(git_repository *repo, int argc, char **argv);