hook: name the positional variables
commit94eba456b4f94228f5f724ce512decb8934522c1
authorKaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Tue, 11 Jul 2017 14:11:09 +0000 (11 19:41 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jul 2017 20:20:42 +0000 (12 13:20 -0700)
treecd36a1e218c30fbfa29afeda6aef45cdbf14c9d1
parentb22a3079466b72e8a8b76065d6c28efe7eea4b16
hook: name the positional variables

It's always nice to have named variables instead of
positional variables as they communicate their purpose
well.

Appropriately name the positional variables of the hook
to make it easier to see what's going on.

Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--prepare-commit-msg.sample