diff options
author | Russell Belfer <rb@github.com> | 2012-08-02 13:00:58 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-08-24 11:00:26 -0700 |
commit | aa13bf05c84f10f364ce35c5d4f989337b36e043 (patch) | |
tree | ca5877bd006a6bfdcd9aad5587e36e89523d6cd2 /src/diff.c | |
parent | decff7b4c13939e5f00d51aea4176fc543d73ede (diff) | |
download | libgit2-aa13bf05c84f10f364ce35c5d4f989337b36e043.tar.gz |
Major submodule rewrite
This replaces the old submodule API with a new extended API that
supports most of the things that can be done with `git submodule`.
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index 9abf8b9f5..430f52e0a 100644 --- a/src/diff.c +++ b/src/diff.c @@ -530,7 +530,7 @@ static int maybe_modified( status = GIT_DELTA_UNMODIFIED; else if (git_submodule_lookup(&sub, diff->repo, nitem->path) < 0) return -1; - else if (sub->ignore == GIT_SUBMODULE_IGNORE_ALL) + else if (git_submodule_ignore(sub) == GIT_SUBMODULE_IGNORE_ALL) status = GIT_DELTA_UNMODIFIED; else { /* TODO: support other GIT_SUBMODULE_IGNORE values */ |