diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2012-11-01 15:47:18 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2012-11-11 11:56:33 -0600 |
| commit | b0f6e45d149c033c9fe41d49af2a87d169d11f40 (patch) | |
| tree | 7cc89f19d1ddbe8ded27944756eccc51f57b8205 /src/refspec.h | |
| parent | d18713fb4ad1ba3d18a75272e1c1c3eb45715aba (diff) | |
| download | libgit2-b0f6e45d149c033c9fe41d49af2a87d169d11f40.tar.gz | |
create FETCH_HEAD specially instead of as a ref file
Diffstat (limited to 'src/refspec.h')
| -rw-r--r-- | src/refspec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h index 40da16afc..e27314cc3 100644 --- a/src/refspec.h +++ b/src/refspec.h @@ -53,4 +53,12 @@ int git_refspec_transform_l(git_buf *out, const git_refspec *spec, const char *n int git_refspec__serialize(git_buf *out, const git_refspec *refspec); +/** + * Determines if a refspec is a wildcard refspec. + * + * @param spec the refspec + * @return 1 if the refspec is a wildcard, 0 otherwise + */ +int git_refspec_is_wildcard(const git_refspec *spec); + #endif |
