-
Notifications
You must be signed in to change notification settings - Fork 124
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
GIT_WORK_TREE #248
Comments
Export, how? If you I can offer to have something like |
Sorry, I don't understand. I did not see Here is my example in Bash for Windows
Is this expected behaviour? |
For comparison |
This issue seems to be two things rolled into one: How @DanacingQuanta are you still using VCSH? Can you give me an example of something that needs (or would be faster with) this var? It would be helpful to have an actual use case. What vim helper plugin were you thinking of? |
FWIW, I found this issue when looking about ways to set the work tree (which is very important for a use case I have), and managed to do it with a config file in By the way, this |
Additionally: the docs say that GIT_WORK_TREE is set. I don't see that being the case for me, and looking at the source in my version and in the one on the repo on the default branch doesn't seem possible either. There are many uses of GIT_DIR, and many lines export it, but not so with GIT_WORK_TREE.
|
I had to look it up myself; it's been a decade or so...
All Do you need to set the work tree to If the help/manpage is wrong, I would appreciate a PR :) |
I want to ask whether it is possible to export
GIT_WORK_TREE
?Some git helper vim plugins rely on this variable and I think asking them to look at
core.worktree
viagit
incur a speed penalty on these plugins.The text was updated successfully, but these errors were encountered: