Skip to content

Add additional "pre" hooks #101

@halfdan

Description

@halfdan

I'm using the hooks to handle docker-composing up / down containers as I create or switch between worktrees. The only issue I have is that there's no pre-delete hook that would allow me to run docker-compose down. I imagine this would be useful for other things as well to clean up resources when a worktree is removed.

My proposal would be to add an additional Deleting hook that receives the path of the to be deleted worktree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions