Left-trimmed the message when no repository is known
This commit is contained in:
parent
600e82b0c4
commit
bcbb1a6d6d
|
@ -96,8 +96,8 @@ _hook_update()
|
||||||
|
|
||||||
#analyze the push
|
#analyze the push
|
||||||
message=
|
message=
|
||||||
[ -n "$repository" ] && message="$repository:"
|
[ -n "$repository" ] && message="$repository: "
|
||||||
[ -n "$author" ] && message="$message $author"
|
[ -n "$author" ] && message="$message$author"
|
||||||
branch=
|
branch=
|
||||||
case "$refname" in
|
case "$refname" in
|
||||||
refs/heads/*)
|
refs/heads/*)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user