diff options
| author | Vicent Martà <vicent@github.com> | 2012-12-03 06:26:41 -0800 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2012-12-03 06:26:41 -0800 |
| commit | e6b013a042e5b20a97cc4286fea437240028991b (patch) | |
| tree | d3d9a6da47a845044a9c5b39f6b4920bd15b2740 /include/git2/reflog.h | |
| parent | da820437368aae2088e992e7ce8944253693aa16 (diff) | |
| parent | cc1466264a385419aa4ebc3811846b038b3430d1 (diff) | |
| download | libgit2-e6b013a042e5b20a97cc4286fea437240028991b.tar.gz | |
Merge pull request #1063 from nulltoken/topic/invalid-name
EINVALIDSPEC
Diffstat (limited to 'include/git2/reflog.h')
| -rw-r--r-- | include/git2/reflog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/git2/reflog.h b/include/git2/reflog.h index 45dff2165..418826d1d 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -63,9 +63,12 @@ GIT_EXTERN(int) git_reflog_append(git_reflog *reflog, const git_oid *id, const g * * The reflog to be renamed is expected to already exist * + * The new name will be checked for validity. + * See `git_reference_create_symbolic()` for rules about valid names. + * * @param ref the reference * @param name the new name of the reference - * @return 0 or an error code + * @return 0 on success, GIT_EINVALIDSPEC or an error code */ GIT_EXTERN(int) git_reflog_rename(git_reference *ref, const char *name); |
