summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-14 21:01:19 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-14 21:52:27 +0100
commit26186b155baf614bcea789d06e17fe7eb13715fe (patch)
treec08159495aaa851d86c8a717189aab6ec008dc22 /include/git2/remote.h
parent7b6e1e4cc668e0c9774d8149bdddd10ac7deeed5 (diff)
downloadlibgit2-26186b155baf614bcea789d06e17fe7eb13715fe.tar.gz
fetch: remove the prune setter
This option does not get persisted to disk, which makes it different from the rest of the setters. Remove it until we go all the way. We still respect the configuration option, and it's still possible to perform a one-time prune by calling the function.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 0d4ee99a0..9f37dc2f3 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -601,16 +601,6 @@ GIT_EXTERN(void) git_remote_set_autotag(
GIT_EXTERN(int) git_remote_prune_refs(const git_remote *remote);
/**
- * Set the ref-prune setting
- *
- * @param remote the remote to configure
- * @param value a boolean value
- */
-GIT_EXTERN(void) git_remote_set_prune_refs(
- git_remote *remote,
- int value);
-
-/**
* Give the remote a new name
*
* All remote-tracking branches and configuration settings