Skip to content

GIT_DIR and GIT_WORK_TREE not respected #58

Open

Description

@fredcooke

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 :-)

Activity

  1. ghost assigned on Jan 6, 2013
  2. ktoso commented on Jan 6, 2013

    @ktoso
    Collaborator

    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 ;-)

  3. fredcooke commented on Jan 6, 2013

    @fredcooke
    ContributorAuthor

    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...

  4. fredcooke commented on Jan 6, 2013

    @fredcooke
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions