diff options
| author | Calvin Wan <calvinwan@google.com> | 2023-06-06 19:48:40 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-06-12 13:49:36 -0700 |
| commit | f89854362cbe60371605dac3ae542109218ef1f3 (patch) | |
| tree | d10fb2e212d6e5e618e485dd178b0a0f3fe861eb /strbuf.h | |
| parent | 5d1344b4973c8ea4904005f3bb51a47334ebb370 (diff) | |
| download | git-f89854362cbe60371605dac3ae542109218ef1f3.tar.gz | |
credential-store: move related functions to credential-store file
is_rfc3986_unreserved() and is_rfc3986_reserved_or_unreserved() are only
called from builtin/credential-store.c and they are only relevant to that
file so move those functions and make them static.
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
| -rw-r--r-- | strbuf.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -690,9 +690,6 @@ int strbuf_check_branch_ref(struct strbuf *sb, const char *name); typedef int (*char_predicate)(char ch); -int is_rfc3986_unreserved(char ch); -int is_rfc3986_reserved_or_unreserved(char ch); - void strbuf_addstr_urlencode(struct strbuf *sb, const char *name, char_predicate allow_unencoded_fn); |
