Commit 8edae204 authored by Brad King's avatar Brad King
Browse files

commit-msg: Fix silent failure when no remote looks like Gerrit

parent cb038d0b
......@@ -86,7 +86,7 @@ rm -f "$commit_msg" || exit 1
gerrit_advice() {
gerrits=$(git config -l |grep '^remote\.[^=]\+url=.*review.*$')
test "x$gerrits" != "x" || return
test "x$gerrits" != "x" || return 0
echo 'Some config values look like Gerrit Code Review URLs:'
echo ''
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment