summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-29 14:30:15 -0700
committerRussell Belfer <rb@github.com>2014-05-02 09:21:33 -0700
commit7a2e56a3f6115c3a145e4f73d0aa8bea6dded899 (patch)
tree29ec64c825c4da68debdfe9d7e1aa0deb219bf86 /include/git2/diff.h
parentb23b112dfe8eceb39eaaea2d5e60d971c4371aa0 (diff)
downloadlibgit2-7a2e56a3f6115c3a145e4f73d0aa8bea6dded899.tar.gz
Get rid of redundant git_diff_options_init fn
Since git_diff_init_options was introduced, remove this old fn.
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index afdb2c981..18880889c 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -811,23 +811,6 @@ GIT_EXTERN(int) git_diff_find_similar(
git_diff *diff,
const git_diff_find_options *options);
-/**
- * Initialize diff options structure
- *
- * In most cases, you can probably just use `GIT_DIFF_OPTIONS_INIT` to
- * initialize the diff options structure, but in some cases that is not
- * going to work. You can call this function instead. Note that you
- * must pass both a pointer to the structure to be initialized and the
- * `GIT_DIFF_OPTIONS_VERSION` value from the header you compiled with.
- *
- * @param options Pointer to git_diff_options memory to be initialized
- * @param version Should be `GIT_DIFF_OPTIONS_VERSION`
- * @return 0 on success, negative on failure (such as unsupported version)
- */
-GIT_EXTERN(int) git_diff_options_init(
- git_diff_options *options,
- unsigned int version);
-
/**@}*/