diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-05 10:25:17 +0300 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-22 18:02:55 +0300 |
commit | 961861fafad45c9eab29f523e51261ba78ab10be (patch) | |
tree | f62724e049940d8c1b238d3abe18c0214c1db3aa /include | |
parent | d6073b30f38f95aa25b1545cccac38261b359de1 (diff) |
submodule: get rid of `_save()`
We no longer have any setters which affect an instance, so
`git_submodule_save()` is no longer relevant.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/submodule.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h index 16895ac3b..0169d1c27 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -301,20 +301,6 @@ GIT_EXTERN(int) git_submodule_add_to_index( int write_index); /** - * Write submodule settings to .gitmodules file. - * - * This commits any in-memory changes to the submodule to the gitmodules - * file on disk. You may also be interested in `git_submodule_init()` which - * writes submodule info to ".git/config" (which is better for local changes - * to submodule settings) and/or `git_submodule_sync()` which writes - * settings about remotes to the actual submodule repository. - * - * @param submodule The submodule to write. - * @return 0 on success, <0 on failure. - */ -GIT_EXTERN(int) git_submodule_save(git_submodule *submodule); - -/** * Get the containing repository for a submodule. * * This returns a pointer to the repository that contains the submodule. |