diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-04 15:10:29 -0700 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-04 15:10:29 -0700 |
| commit | 01dbe273c9b6f86a613b67cee27212cf4bacf4c0 (patch) | |
| tree | c9ab13794bcbfead83d9841cba9dd388ecebdb15 /include/git2 | |
| parent | 8856849c1c8d7fd4c6c8768902845a2b96c29794 (diff) | |
| parent | d27bf6656158c6be1eca7e8c5e87b4d39958b18d (diff) | |
| download | libgit2-01dbe273c9b6f86a613b67cee27212cf4bacf4c0.tar.gz | |
Merge pull request #737 from nulltoken/topic/git_remote_add_refspec
Remotes and refspecs
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/refspec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/refspec.h b/include/git2/refspec.h index c0a8eabfe..1100e9022 100644 --- a/include/git2/refspec.h +++ b/include/git2/refspec.h @@ -36,6 +36,14 @@ GIT_EXTERN(const char *) git_refspec_src(const git_refspec *refspec); GIT_EXTERN(const char *) git_refspec_dst(const git_refspec *refspec); /** + * Get the force update setting + * + * @param refspec the refspec + * @return 1 if force update has been set, 0 otherwise + */ +GIT_EXTERN(int) git_refspec_force(const git_refspec *refspec); + +/** * Check if a refspec's source descriptor matches a reference * * @param refspec the refspec |
