-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
Supercool! It actually works!
How can I run commands like:
opts.flags |= GIT_STATUS_OPT_INCLUDE_UNTRACKED |
GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX |
GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR;
git_status_list_new(&statuslist, g_repo, &opts);
(sorry for writing it C-style)?
P.S. This is the signature: https://libgit2.org/libgit2/#v1.5.1/group/status/git_status_list_new
P.P.S. Here's an example in this repo: https://github.com/petersalomonsen/wasm-git/blob/master/libgit2patchedfiles/examples/status.c
Also, is it possible to access repository tree, e.g. I want to test the repository structure, tree of commits, in my code.
Metadata
Metadata
Assignees
Labels
No labels