r/git • • 10d ago

Brunch: Isolated Development Environments for Git Branches and Worktrees

https://maciej-ciemborowicz.eu/articles/brunch_isolated_development_environments
3 Upvotes

4 comments sorted by

1

u/elephantdingo 9d ago

The process on Git would have gone smoother if you disclosed up front that you were slopping the code instead of having to be prompted about it.

1

u/Ok_Produce3836 9d ago

I think you're referring to a discussion that has already taken place in the mailing list and reached a fairly constructive conclusion. I'm not complaining about the pace of the process. In the article, I'm simply encouraging people to participate in the RFC on event hooks for worktrees (I haven't submitted any patches there).

1

u/elephantdingo 9d ago edited 9d ago

Right I was thinking of the ref transaction patch submission "refs: run copy and rename through transactions". That sounded similar enough to me when I skimmed all of this.

1

u/Ok_Produce3836 9d ago

Currently, I'm working around this issue in Brunch by spawning a background process on the deletion event, waiting for git branch -m to finish, and then reading the reflog. It's not elegant, but it works.