diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-04-25 11:20:08 +0200 |
---|---|---|
committer | Michael Haggerty <mhagger@alum.mit.edu> | 2016-06-13 11:23:49 +0200 |
commit | 3a8af7be8f977cbf393dc77884a9ee6dfd611d95 (patch) | |
tree | c807e40ac978694b12773f044d33625a1f0d89b3 /refs/refs-internal.h | |
parent | 12fd3496d19c33c6401c5fdc7558944d46124a0f (diff) | |
download | git-3a8af7be8f977cbf393dc77884a9ee6dfd611d95.tar.gz |
verify_refname_available(): adjust constness in declaration
The two string_list arguments can be const.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r-- | refs/refs-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h index 85f4650ab8..9686e60942 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -116,8 +116,8 @@ enum peel_status peel_object(const unsigned char *name, unsigned char *sha1); * extras and skip must be sorted. */ int verify_refname_available(const char *newname, - struct string_list *extras, - struct string_list *skip, + const struct string_list *extras, + const struct string_list *skip, struct strbuf *err); /* |