diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-31 15:45:56 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-31 15:45:56 +0200 |
| commit | ac587e7596ced3616d682b7c57815f20dc0edaa8 (patch) | |
| tree | b8febe1436c59e8865a4a072b389e1f1a33b5980 /include | |
| parent | a5670d4f2da38b9f0fde73d44ea8898372c39e40 (diff) | |
| parent | 9e88a823f61a3c1b298b0f33d1a260fdc5ee2fa7 (diff) | |
| download | libgit2-ac587e7596ced3616d682b7c57815f20dc0edaa8.tar.gz | |
Merge pull request #3048 from pks-t/insteadof
Implementation of url.*.insteadOf
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/remote.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 02d73a0e6..ccd0b43f4 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -120,6 +120,9 @@ GIT_EXTERN(const char *) git_remote_name(const git_remote *remote); /** * Get the remote's url * + * If url.*.insteadOf has been configured for this URL, it will + * return the modified URL. + * * @param remote the remote * @return a pointer to the url */ @@ -128,6 +131,9 @@ GIT_EXTERN(const char *) git_remote_url(const git_remote *remote); /** * Get the remote's url for pushing * + * If url.*.pushInsteadOf has been configured for this URL, it + * will return the modified URL. + * * @param remote the remote * @return a pointer to the url or NULL if no special url for pushing is set */ |
