aboutsummaryrefslogtreecommitdiffstats
path: root/strbuf.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2024-10-30 00:56:30 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2024-11-26 22:15:00 +0100
commit99cb64c31ab06352feecbb7a005a32339205a344 (patch)
tree518ba9f82fbd1e64d8dad13618b6800f28721b83 /strbuf.h
parentc2b3f2b3cdbf5ad9feb978dd367d77561a1271f7 (diff)
parent2f323bb16219c105e0c576ea4c2ece9863f5d926 (diff)
downloadgit-99cb64c31ab06352feecbb7a005a32339205a344.tar.gz
Sync with 2.44.3
* maint-2.44: Git 2.44.3 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 97fa4a3d01..29b4b898d3 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -351,6 +351,7 @@ void strbuf_expand_bad_format(const char *format, const char *command);
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