diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-10-30 00:52:16 +0100 |
|---|---|---|
| committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-11-26 22:14:59 +0100 |
| commit | c39c2d29e62d5bd13f390ca20f6e756aced681b1 (patch) | |
| tree | 63a1b00a4df948d65f46b0d3cc382bfe4037085a /strbuf.h | |
| parent | Git 2.43.5 (diff) | |
| parent | Git 2.42.4 (diff) | |
| download | git-c39c2d29e62d5bd13f390ca20f6e756aced681b1.tar.gz git-c39c2d29e62d5bd13f390ca20f6e756aced681b1.zip | |
Sync with 2.42.4
* maint-2.42:
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
