]> git.ipfire.org Git - thirdparty/git.git/commit - strbuf.c
strbuf: give URL-encoding API a char predicate fn
authorMatthew DeVore <matvore@google.com>
Thu, 27 Jun 2019 22:54:11 +0000 (15:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Jun 2019 15:41:53 +0000 (08:41 -0700)
commitc2694952e33764818983fa247dcee72113c6ac6a
treef9566500dd09523b813a4b75072bb5fb52e7a202
parentcf9ceb5a12cad9c9153d227a0f497d1b522ce085
strbuf: give URL-encoding API a char predicate fn

Allow callers to specify exactly what characters need to be URL-encoded
and which do not. This new API will be taken advantage of in a patch
later in this set.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential-store.c
http.c
strbuf.c
strbuf.h