change full path to basename of commit message

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>