Skip to content

Improved command untrack#398

Merged
rubyist merged 6 commits intogit-lfs:masterfrom
michael-k:untrack
Jun 16, 2015
Merged

Improved command untrack#398
rubyist merged 6 commits intogit-lfs:masterfrom
michael-k:untrack

Conversation

@michael-k
Copy link
Contributor

Fixes #397, Regards #281

@rubyist
Copy link
Contributor

rubyist commented Jun 16, 2015

👍

rubyist added a commit that referenced this pull request Jun 16, 2015
@rubyist rubyist merged commit 8ae4dac into git-lfs:master Jun 16, 2015
@michael-k michael-k deleted the untrack branch June 16, 2015 14:51
@technoweenie technoweenie mentioned this pull request Jun 16, 2015
38 tasks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is failing for me locally. I put these debugging lines at the top of this test (after line 28 in the diff):

  echo "* * * * *"
  pwd
  echo "* * * * *"
  ls -al
  echo "* * * * *"
  git lfs env
  echo "* * * * *"

Here's the test output:

test: untrack outside git repo ...                                 FAILED
-- stdout --
    * * * * *
    /Users/rick/p/git-lfs-temp/test-untrack.sh-77642
    * * * * *
    total 16
    drwxr-xr-x  5 rick  staff  170 Jun 16 14:36 .
    drwxr-xr-x  4 rick  staff  136 Jun 16 14:36 ..
    drwxr-xr-x  9 rick  staff  306 Jun 16 14:36 .git
    -rw-r--r--  1 rick  staff   62 Jun 16 14:36 err
    -rw-r--r--  1 rick  staff   69 Jun 16 14:36 out
    * * * * *
    LocalWorkingDir=/Users/rick/p/git-lfs-temp/test-untrack.sh-77642
    LocalGitDir=/Users/rick/p/git-lfs-temp/test-untrack.sh-77642/.git
    LocalMediaDir=/Users/rick/p/git-lfs-temp/test-untrack.sh-77642/.git/lfs/objects
    TempDir=/Users/rick/p/git-lfs-temp/test-untrack.sh-77642/.git/lfs/tmp
    ConcurrentTransfers=3
    BatchTransfer=false
    GIT_LFS_TEST_DIR=/Users/rick/p/git-lfs-temp
    GIT_LFS_TEST_MAXPROCS=4
    * * * * *
    GIT_LFS_TEST_DIR should be set outside of any Git repository

It's still finding the local git dir as "LocalGitDir=/Users/rick/p/git-lfs-temp/test-untrack.sh-77642/.git", which actually seems to exist. I'm not sure what's creating it though.

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

Successfully merging this pull request may close these issues.

3 participants