According to githooks(5), the post-checkout is passed a flag indicating whether the checkout was a branch checkout or a file checkout.
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org