]> git.proxmox.com Git - libgit2.git/commit - src/submodule.c
Implement GIT_STATUS_OPT_EXCLUDE_SUBMODULES
authorRussell Belfer <rb@github.com>
Tue, 26 Mar 2013 05:19:39 +0000 (22:19 -0700)
committerRussell Belfer <rb@github.com>
Tue, 26 Mar 2013 05:19:39 +0000 (22:19 -0700)
commit37ee70fab4e6dcf35afc08c0edbe9f101d4abf2d
treee9bee47b3059bbc5189e0833b927a3bf50776bdf
parent0c289dd7c6831f4f402f9581b46d0c920053abf9
Implement GIT_STATUS_OPT_EXCLUDE_SUBMODULES

This option has been sitting unimplemented for a while, so I
finally went through and implemented it along with some tests.

As part of this, I improved the implementation of
GIT_DIFF_IGNORE_SUBMODULES so it be more diligent about avoiding
extra work and about leaving off delta records for submodules to
the greatest extent possible (though it may include them still
if you are request TYPECHANGE records).
include/git2/oid.h
include/git2/status.h
src/diff.c
src/status.c
src/submodule.c
tests-clar/status/ignore.c
tests-clar/status/submodules.c