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
|
||||
message=
|
||||
[ -n "$repository" ] && message="$repository:"
|
||||
[ -n "$author" ] && message="$message $author"
|
||||
[ -n "$repository" ] && message="$repository: "
|
||||
[ -n "$author" ] && message="$message$author"
|
||||
branch=
|
||||
case "$refname" in
|
||||
refs/heads/*)
|
||||
|
|
Loading…
Reference in New Issue
Block a user