Skip to content

Conversation

@jablko
Copy link
Contributor

@jablkojablko commented Nov 26, 2019

If you run the user tests with git rebase --exec, Git exports GIT_DIR and GIT_WORK_TREE and ends up running git reset --hard, git clean --force and git pull --force on the TypeScript project, not the test case subproject, regardless of {cwd: submoduleDir } (⌣̩̩́_⌣̩̩̀)

--git-dir and --work-tree override GIT_DIR and GIT_WORK_TREE, forcing it to reset the correct repository.

@jablkojablko mentioned this pull request Nov 26, 2019
@jablkojablkoforce-pushed the patch-31 branch 3 times, most recently from 1036388 to 3ef366dCompareNovember 29, 2019 22:25
@jablkojablkoforce-pushed the patch-31 branch 3 times, most recently from 01cf1d7 to e6a39b5CompareJanuary 25, 2020 20:23
@sandersnsandersn added the Housekeeping Housekeeping PRs label Feb 1, 2020
@jablkojablkoforce-pushed the patch-31 branch 5 times, most recently from a1fc6f2 to a0a04dfCompareFebruary 9, 2020 17:19
@jablkojablkoforce-pushed the patch-31 branch 3 times, most recently from 3c2bbf7 to 95d170aCompareFebruary 12, 2020 00:49
@sandersn
Copy link
Member

Your command looks like git rebase -x "gulp runtests-parallel --ru=user", right?

Copy link
Member

@sandersnsandersn left a comment

Choose a reason for hiding this comment

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

Works for me locally.

@sandersnsandersn merged commit 98492d8 into microsoft:masterFeb 12, 2020
@jablko
Copy link
ContributorAuthor

Yes, pretty much. Thanks!

@microsoftmicrosoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

HousekeepingHousekeeping PRs

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

@jablko@sandersn