diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-10-30 00:39:04 +0100 |
|---|---|---|
| committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-11-26 22:14:58 +0100 |
| commit | 102e0e6daa920a811890a612578a7723335b1f77 (patch) | |
| tree | c1f9189b3dbb65ee029f4d46ea18f78cd3384c2b /strbuf.h | |
| parent | 239bd35bd2ed2791398714d99b43a344728766ab (diff) | |
| parent | 6fd641a521a722e438b291ec7b852b7bb508b18b (diff) | |
| download | git-102e0e6daa920a811890a612578a7723335b1f77.tar.gz | |
Sync with 2.41.3
* maint-2.41:
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 |
