]> 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>
Sat, 11 Nov 2017 17:54:10 +0000 (11:54 -0600)
commit36476fee097cd8dd24c52ca1f460d7a4f45ea209
tree8e2c5e6612750d35deefcb49ab742f59c2be67fa
parent3bdce6f4248715118bac97544f7b6d2ec58ba1ff
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