Skip to content
Snippets Groups Projects
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
No related merge requests found
......@@ -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 ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment