Skip to content
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_DIR and GIT_WORK_TREE not respected #58

Open
fredcooke opened this issue Jan 6, 2013 · 3 comments
Open

GIT_DIR and GIT_WORK_TREE not respected #58

fredcooke opened this issue Jan 6, 2013 · 3 comments
Assignees

Comments

@fredcooke
Copy link
Contributor

git dir to find the git dir (allow it to override the usual find mechanism and/or variable), and the work dir for git status/describe checking. Thanks in advance :-)

@ghost ghost assigned ktoso Jan 6, 2013
@ktoso
Copy link
Collaborator

ktoso commented Jan 6, 2013

Looking up the var and using it if set during JGit initialization should be enough to fix this I guess.
I'll give it 1 hour tomorrow ;-)

@fredcooke
Copy link
Contributor Author

No big rush on this, my work-around is working fine :-) The plugins that are currently holding me up with bugs are two that I recently adopted myself...

@fredcooke
Copy link
Contributor Author

For others reference:

My first work-around:

cp -ar $GIT_DIR $GIT_WORK_TREE/

My improved work-around:

ln -s $GIT_DIR $GIT_WORK_TREE/.git

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

No branches or pull requests

2 participants