Include the short revision in the message for new branches and tags

This commit is contained in:
Pierre Pronchery 2014-09-14 21:31:42 +02:00
parent 96a07f353a
commit 600e82b0c4

View File

@ -115,7 +115,7 @@ _hook_update()
;;
esac
if [ "$oldrev" = "$nullrev" ]; then
message="$message new $type"
message="$message new $type at ${newrev:0:8}"
elif [ "$newrev" = "$nullrev" ]; then
message="$message $type deleted"
else