diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-28 16:45:36 -0700 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-28 16:45:36 -0700 |
commit | bfc9ca595aa2f189743f2a7b9812f05def78ec88 (patch) | |
tree | bfb9ade537f03433d1d1876045e4c5f2d56f3ccc /include/git2.h | |
parent | 277e304149011bb615ae258e25492350cbfd4d46 (diff) | |
download | libgit2-bfc9ca595aa2f189743f2a7b9812f05def78ec88.tar.gz |
Added submodule API and use in status
When processing status for a newly checked out repo, it is
possible that there will be submodules that have not yet been
initialized. The only way to distinguish these from untracked
directories is to have some knowledge of submodules. This
commit adds a new submodule API which, given a name or path,
can determine if it appears to be a submodule and can give
information about the submodule.
Diffstat (limited to 'include/git2.h')
-rw-r--r-- | include/git2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2.h b/include/git2.h index 1711ff8be..7d053c4af 100644 --- a/include/git2.h +++ b/include/git2.h @@ -40,7 +40,7 @@ #include "git2/net.h" #include "git2/status.h" #include "git2/indexer.h" - +#include "git2/submodule.h" #include "git2/notes.h" #endif |