OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5a24b4e
)
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
diff --git
a/t/t1450-fsck.sh
b/t/t1450-fsck.sh
index
adf0bc8
..
bb89e1a
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
)
'