Skip to content

create a new HOME with a global git config just for tests#335

Merged
technoweenie merged 2 commits intomasterfrom
new-home
May 26, 2015
Merged

create a new HOME with a global git config just for tests#335
technoweenie merged 2 commits intomasterfrom
new-home

Conversation

@technoweenie
Copy link
Contributor

This hacks $HOME so it's set to a temporary ./test/remote dir. This way we can create a $HOME/.gitconfig for common Git settings. The helpers don't have to create a separate git config file for every remote repo. This should also override any system wide or user git config settings that may affect tests. See http://git-scm.com/docs/git-config#FILES

technoweenie added a commit that referenced this pull request May 26, 2015
create a new HOME with a global git config just for tests
@technoweenie technoweenie merged commit ca05b90 into master May 26, 2015
@technoweenie technoweenie deleted the new-home branch May 26, 2015 15:56
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Sep 8, 2024
The LFS_CONFIG variable, which we set in our t/testenv.sh library,
is not referenced by any part of our current test suite.  The last
use of this variable was removed in 2015 in commit
1feee58 of PR git-lfs#335, when the
test suite was revised to create a private home directory for the
tests, so as to be able to set a standard global Git configuration
separate from that of the current user's configuration.  Hence we
can just remove the LFS_CONFIG variable now.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Sep 15, 2024
The LFS_CONFIG variable, which we set in our t/testenv.sh library,
is not referenced by any part of our current test suite.  The last
use of this variable was removed in 2015 in commit
1feee58 of PR git-lfs#335, when the
test suite was revised to create a private home directory for the
tests, so as to be able to set a standard global Git configuration
separate from that of the current user's configuration.  Hence we
can just remove the LFS_CONFIG variable now.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Oct 5, 2024
The LFS_CONFIG variable, which we set in our t/testenv.sh library,
is not referenced by any part of our current test suite.  The last
use of this variable was removed in 2015 in commit
1feee58 of PR git-lfs#335, when the
test suite was revised to create a private home directory for the
tests, so as to be able to set a standard global Git configuration
separate from that of the current user's configuration.  Hence we
can just remove the LFS_CONFIG variable now.
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.

1 participant