summaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2024-10-23 02:46:00 +0200
committerTaylor Blau <me@ttaylorr.com>2024-10-23 22:16:36 +0200
commit5f139a194f22b34eb49a891253271693989d6fdc (patch)
treeac1e79c19a7733e3c22daf21a956f194c82b886a /http.c
parentRequire Perl 5.26.0 (diff)
downloadgit-5f139a194f22b34eb49a891253271693989d6fdc.tar.xz
git-5f139a194f22b34eb49a891253271693989d6fdc.zip
gitweb: make use of s///r
In Perl 5.14, released in May 2011, the r modifier was added to the s/// operator to allow it to return the modified string instead of modifying the string in place. This allows to write nicer, more succinct code in several cases, so let's do that here. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'http.c')
0 files changed, 0 insertions, 0 deletions