Output links only when a single commit was pushed
This commit is contained in:
parent
1a97d48d4b
commit
d9aa6a94a5
|
@ -158,7 +158,7 @@ _hook_update()
|
|||
message="$message in $unique_files_cnt files)"
|
||||
fi
|
||||
echo "$message"
|
||||
_link "$repository" "$newrev"
|
||||
[ $commit_cnt -eq 1 ] && _link "$repository" "$newrev"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user