summaryrefslogtreecommitdiff
path: root/git-gui/lib
diff options
context:
space:
mode:
authorCélestin Matte <celestin.matte@ensimag.fr>2013-06-14 15:50:09 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-14 09:02:15 -0700
commit05d4c7b1c46b7a6cbc8f4c0403a6e208aea1c63c (patch)
tree4fe0c10cbb124eddb259c26538f7bf71cd17b881 /git-gui/lib
parentbdff0e3a374617dce784f801b97500d9ba2e4705 (diff)
git-remote-mediawiki: make a regexp clearer
Perl's split function takes a regex pattern argument. You can also feed it an expression, which is then compiled into a regex at runtime. It therefore works to pass your pattern via single quotes, but it is much less obvious to a reader that the argument is meant to be a regex, not a static string. Using the traditional slash-delimiters makes this easier to read. Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib')
0 files changed, 0 insertions, 0 deletions