[PATCH v2 07/12] t4013: call git-merge instead of git-pull
- From
Paul Tan <pyokagan@gmail.com>
- Date
- May 7, 2015, 08:44 UTC
- Message-ID
- <1430988248-18285-8-git-send-email-pyokagan@gmail.com>
- In-Reply-To
- <1430988248-18285-1-git-send-email-pyokagan@gmail.com>
Since "git fetch ." does not update any refs, "git pull . side" is equivalent to calling "git merge side".
As such, replace the call to git-pull with a call to git-merge to reduce the dependence on git-pull's functionality to reduce irrelevant test breakage when git-pull is rewritten to C.
Signed-off-by: Paul Tan <pyokagan@gmail.com> ---
Notes:
* This is a new patch in the patch series.t/t4013-diff-various.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t4013-diff-various.sh b/t/t4013-diff-various.sh index 6ec6072..48f2fe2 100755 --- a/t/t4013-diff-various.sh +++ b/t/t4013-diff-various.sh @@ -64,7 +64,7 @@ test_expect_success setup ' export GIT_AUTHOR_DATE GIT_COMMITTER_DATE && git checkout master && - git pull -s ours . side && + git merge -s ours side && GIT_AUTHOR_DATE="2006-06-26 00:05:00 +0000" && GIT_COMMITTER_DATE="2006-06-26 00:05:00 +0000" &&
-- 2.1.4