Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/fsck-name-object' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 10 Jul 2017 20:59:08 +0000
(13:59 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 10 Jul 2017 20:59:08 +0000
(13:59 -0700)
Test fix.
* js/fsck-name-object:
t1450: use egrep for regexp "alternation"
t/t1450-fsck.sh
patch
|
blob
|
history
raw
(from parent 1:
5a24b4e
)
diff --git
a/t/t1450-fsck.sh
b/t/t1450-fsck.sh
index adf0bc88ba510f08d9429ae0f2fb2b2d37424ff4..bb89e1a5db293dd886bff9df668bcaf187a58d11 100755
(executable)
--- a/
t/t1450-fsck.sh
+++ b/
t/t1450-fsck.sh
@@
-573,7
+573,7
@@
test_expect_success 'fsck --name-objects' '
remove_object $(git rev-parse julius:caesar.t) &&
test_must_fail git fsck --name-objects >out &&
tree=$(git rev-parse --verify julius:) &&
-
grep "$tree (\(refs/heads/master\|HEAD\)@{[0-9]*
}:" out
+
egrep "$tree \((refs/heads/master|HEAD)@\{[0-9]*\
}:" out
)
'