]> arthur.barton.de Git - bup.git/commit
test-rm: fix regexes to handle newer *and* older git
authorRob Browning <rlb@defaultvalue.org>
Sat, 11 Nov 2017 17:53:56 +0000 (11:53 -0600)
committerRob Browning <rlb@defaultvalue.org>
Thu, 29 Mar 2018 05:18:18 +0000 (00:18 -0500)
commita75a4b60adcb74ecd4f50842be1f9aa975452af5
treea40aa79b43a31c07cff756006908d2459e5cb0ed
parent8c7c0974aeec7ecd7aaedd173ee200d96046b0dc
test-rm: fix regexes to handle newer *and* older git

To accommodate optional lines, we need to use a construct like this:

  foo(
  bar)?

instead of this:

  foo
  (bar)?

The problem became apparent when people tested against older git after
the introduction of the patch to work with newer git:
292361d86d1cf0cc555681ae43371d66c8ebb366

Thanks to Greg Troxel and Basil Mohamed Gohar for reporting the
problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/test-rm.sh