Project

General

Profile

Actions

Bug #7309

closed

[Git] arv-git-httpd tests fail when git push.default is set to 'simple' instead of 'matching'

Added by Joshua Randall over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Git hosting
Target version:
-
Story points:
-

Description

In git v2, the default push behaviour has changed from 'matching' to 'simple' (https://github.com/git/git/commit/b55e67752242b449a4577c05341fd6b2fea4d310).

It appears that arv-git-httpd tests are expecting 'matching' behaviour, so for git v2+, the push.default config option has to be explicitly set to 'matching' in order for the tests to work.

git config --global push.default matching

I have updated the hacking docs (https://dev.arvados.org/projects/arvados/wiki/Hacking_prerequisites), but I think it would be better if this was configured by the test framework itself.

Actions #1

Updated by Brett Smith over 10 years ago

  • Subject changed from arv-git-httpd tests fail when git push.default is set to 'simple' instead of 'matching' to [Git] arv-git-httpd tests fail when git push.default is set to 'simple' instead of 'matching'
  • Category changed from Tests to Git hosting
Actions #2

Updated by Tom Clegg over 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:7a029b844a155d7b90ccfbf4b81f80c886770591.

Actions

Also available in: Atom PDF