Unverified Commit 0e7d7b87 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

feat(changelog): ignore merge commits

parent e32d4b1e
......@@ -114,6 +114,11 @@ function parse-commit {
fi
}
# Ignore commit if it is a merge commit
if [[ $(command git show -s --format=%p $1 | wc -w) -gt 1 ]]; then
return
fi
# Parse commit with hash $1
local hash="$1" subject body warning rhash
subject="$(command git show -s --format=%s $hash)"
......
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