Function git_branchless::commands::hooks::hook_post_checkout
source · [−]pub fn hook_post_checkout(
effects: &Effects,
previous_head_oid: &str,
current_head_oid: &str,
is_branch_checkout: isize
) -> Result<()>
Expand description
Handle Git’s post-checkout
hook.
See the man-page for githooks(5)
.