Skip to content

Complete git worktree #339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Denton-L opened this issue Sep 18, 2019 · 2 comments
Closed

Complete git worktree #339

Denton-L opened this issue Sep 18, 2019 · 2 comments

Comments

@Denton-L
Copy link
Member

When someone types git worktree add <path> <TAB> it should complete a list of branches and tags since we're expecting commit-ishes.

More ambitiously, when someone types git worktree {lock,move,remove,unlock} <TAB>, we should complete with a path to all worktrees. Perhaps, this might most easily be done by implementing git worktree list --relative-path which will print out the relative path to all worktrees. We can directly use this for completion.

@Denton-L Denton-L changed the title Complete git worktree Complete git worktree Sep 18, 2019
@Denton-L
Copy link
Member Author

Denton-L commented Oct 17, 2019

@Denton-L
Copy link
Member Author

Merged to master in fec1ff9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant