In case this helps, the post-check seems to fire after reset.
The third parameter of this trigger is likely to let you do what you want.
eg:.
#!/bin/sh if [ "$3" -eq "0" ] then echo "$3 indicates whether the checkout was a branch checkout (changing branches, flag=1) or a file checkout (retrieving a file from the index, flag=0)" fi
source share