aboutsummaryrefslogtreecommitdiff
path: root/git2d/x.h
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 11:58:21 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 12:34:01 +0800
commit29601ccaf75ffa6a0cdc2e6bcaedaa5a573f59a2 (patch)
tree31a80ccf0076aa2511cc8992a7b2698bdd6955c9 /git2d/x.h
parentHTML: Broken branches warning (diff)
downloadforge-29601ccaf75ffa6a0cdc2e6bcaedaa5a573f59a2.tar.gz
forge-29601ccaf75ffa6a0cdc2e6bcaedaa5a573f59a2.tar.zst
forge-29601ccaf75ffa6a0cdc2e6bcaedaa5a573f59a2.zip
git2d: Add a basic command for tree
Diffstat (limited to 'git2d/x.h')
-rw-r--r--git2d/x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git2d/x.h b/git2d/x.h
index f852b23..5a9b32a 100644
--- a/git2d/x.h
+++ b/git2d/x.h
@@ -33,5 +33,6 @@ bare_error conn_write(void *buffer, const void *src, uint64_t sz);
void * session(void *_conn);
int cmd1(git_repository *repo, struct bare_writer *writer);
+int cmd2(git_repository *repo, struct bare_reader *reader, struct bare_writer *writer);
#endif // X_H