aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2024-10-30 00:54:59 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2024-11-26 22:14:59 +0100
commit14799610a8a6cf44d23a068e900bc491b1d4f37f (patch)
treea60ecc00421dd404d7b76c5a1d49165b7dd93865 /strbuf.h
parent46698a8ea13f244aac74366d2ee66a88e92e001a (diff)
parent664d4fa692cb8637a7c9297c94abf0de8593e585 (diff)
downloadgit-14799610a8a6cf44d23a068e900bc491b1d4f37f.tar.xz
Sync with 2.43.6
* maint-2.43: Git 2.43.6 Git 2.42.4 Git 2.41.3 Git 2.40.4 credential: disallow Carriage Returns in the protocol by default credential: sanitize the user prompt credential_format(): also encode <host>[:<port>] t7300: work around platform-specific behaviour with long paths on MinGW compat/regex: fix argument order to calloc(3) mingw: drop bogus (and unneeded) declaration of `_pgmptr` ci: remove 'Upload failed tests' directories' step from linux32 jobs
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index e959caca87..a53e9bb957 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -346,6 +346,7 @@ int strbuf_expand_step(struct strbuf *sb, const char **formatp);
void strbuf_addbuf_percentquote(struct strbuf *dst, const struct strbuf *src);
#define STRBUF_ENCODE_SLASH 1
+#define STRBUF_ENCODE_HOST_AND_PORT 2
/**
* Append the contents of a string to a strbuf, percent-encoding any characters