diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-28 12:15:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-28 13:06:21 -0700 |
commit | 5731dfce06a19f59aa1be2bd2120584864d8983b (patch) | |
tree | 00ef6426fde686327d1928d840e8da1639c9cb46 /t/t4013/diff.diff-tree_--root_--patch-with-raw_initial | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-5731dfce06a19f59aa1be2bd2120584864d8983b.tar.xz |
request-pull: quote regex metacharacters in local ref
The local part of the third argument of git-request-pull is used in
a regular expression without quoting it. Use qr{} and \Q\E to ensure
that e.g. a period in a tag name does not match any character on the
remote side.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--root_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions