How can I get the status of a single directory, rather than the whole repository?
I have looked at the following:
git_status_list_new which
git_status_list_new
git_status_list_new accepts a git_status_options struct, which contains a pathspec member which controls which files will be included in the list. You can use that to limit your returned statuses to those in a single directory.
git_status_options
pathspec