diff options
author | Russell Belfer <rb@github.com> | 2013-06-19 15:27:25 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-19 15:27:25 -0700 |
commit | f30fff45a752cb0781067ad48c283e49345a5813 (patch) | |
tree | 3acc669674a087139db8ead4ce5425cc9bd1ed7e /tests-clar/diff/patch.c | |
parent | 85b8b18b6a07b74dd2631c3a647ca758660bf298 (diff) | |
download | libgit2-f30fff45a752cb0781067ad48c283e49345a5813.tar.gz |
Add index pathspec-based operations
This adds three new public APIs for manipulating the index:
1. `git_index_add_all` is similar to `git add -A` and will add
files in the working directory that match a pathspec to the
index while honoring ignores, etc.
2. `git_index_remove_all` removes files from the index that match
a pathspec.
3. `git_index_update_all` updates entries in the index based on
the current contents of the working directory, either added
the new information or removing the entry from the index.
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions