commit - 9a298e5c10f6c68afbaca853454de2787a312c81
commit + 8c9ae19cb1bac895dd2fd156f76df95c53ec375b
blob - edb0516b38e63ce6695a517988a05d6c9a5266e3
blob + e3fa88deda08736ab31dd16d7515c573e3b9b808
--- regress/cmdline/clone.sh
+++ regress/cmdline/clone.sh
test_done "$testroot" "$ret"
return 1
fi
- got log -l0 -p -r $testroot/repo > $testroot/log-repo-clone
- ret=$?
- if [ $ret -ne 0 ]; then
- echo "got log command failed unexpectedly" >&2
- test_done "$testroot" "$ret"
- return 1
- fi
+ got log -l0 -p -r $testroot/repo-clone | \
+ sed 's@master, origin/master@master@g' \
+ > $testroot/log-repo-clone
+
cmp -s $testroot/log-repo $testroot/log-repo-clone
ret=$?
if [ $ret -ne 0 ]; then