The name of the "commit" member of commit messages has been changed
to "ref", but watchbot still used the old terminology.
This commit modifies watchbot to use the term "ref" instead of
"commit".
local endpoint="$1"
local topic="$2"
local watch="$3"
- local commit="$4"
+ local ref="$4"
local repository
local branch
repository=$(watch_to_repository "$watch")
branch=$(watch_to_branch "$watch")
- msg=$(foundry_msg_commit_new "$repository" "$branch" "$commit")
+ msg=$(foundry_msg_commit_new "$repository" "$branch" "$ref")
if ! ipc_endpoint_publish "$endpoint" "$topic" "$msg"; then
return 1