act icon indicating copy to clipboard operation
act copied to clipboard

Enhancement: working with git worktree

Open Steph0 opened this issue 3 years ago • 7 comments

Describe feature

For a working act workflow, when you are using git worktree ACT does not work. It does not fill repository data, certainly because it does not follow links in .git file in a git worktree.

If there is a workaround, i'd take it! :)

Example:

WARN[0000] unable to get git repo: unable to find git repo
WARN[0000] unable to get git revision: unable to find git repo
WARN[0000] unable to get git ref: unable to find git repo
WARN[0000] unable to get git repo: unable to find git repo
WARN[0000] unable to get git revision: unable to find git repo
WARN[0000] unable to get git ref: unable to find git repo
$ cat .git
gitdir: /home/xxx/yyy/zzz.git/worktrees/dev

Steph0 avatar May 04 '21 15:05 Steph0

Issue is stale and will be closed in 14 days unless there is new activity

github-actions[bot] avatar Jun 04 '21 00:06 github-actions[bot]

@catthehacker Thanks for creating this tool, I've made a PR for this feature #829

lvlrt avatar Sep 27 '21 15:09 lvlrt

Thank @cplee, I'm just trying to maintain it 🐱‍💻

catthehacker avatar Sep 27 '21 15:09 catthehacker

@cplee thx!

lvlrt avatar Sep 27 '21 18:09 lvlrt

Awesome @lvlrt, thanks 🤩

Steph0 avatar Sep 30 '21 12:09 Steph0

Just got bit by this one. Is there a timeline for merging the PR?

mattalxndr avatar Feb 15 '22 03:02 mattalxndr

No, because it doesn't work

catthehacker avatar Feb 15 '22 06:02 catthehacker