golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.74k stars 17.5k forks source link

x/review/git-codereview: does not work with 'git worktree' #12182

Open josharian opened 9 years ago

josharian commented 9 years ago

See https://github.com/blog/2042-git-2-5-including-multiple-worktrees-and-triangular-workflows for info about 'git worktree'.

At the least, the hook checker needs updating:

$ git sync
git-codereview: checking hook: stat /Volumes/Data/src/go.ssa/.git/hooks/commit-msg: not a directory

There might be other stuff as well.

gopherbot commented 8 years ago

CL https://golang.org/cl/18349 mentions this issue.

cmarcelo commented 8 years ago

I'll rework the CL for this.

gopherbot commented 8 years ago

CL https://golang.org/cl/19882 mentions this issue.