mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-21 15:10:01 +01:00
15 lines
228 B
Plaintext
15 lines
228 B
Plaintext
![]() |
#! /bin/sh
|
||
|
|
||
|
if [ -n "${GIT_DIR}" ]; then
|
||
|
hooksdir="./${GIT_DIR}/hooks/"
|
||
|
else
|
||
|
hooksdir="./"
|
||
|
fi
|
||
|
|
||
|
. "${hooksdir}common.sh"
|
||
|
|
||
|
ticket="$(extractTicketId)"
|
||
|
if [ -n "${ticket}" ]; then
|
||
|
appendMsgTo1stLine "$1" "${ticket}"
|
||
|
fi
|