Skip to content

Commit

Permalink
worktree: Set local user config for reproducible testing
Browse files Browse the repository at this point in the history
The test goes fail with git exit status 128 while committing when git
config is not set globally or locally.

Fixes src-d#1138

Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
jmkim committed Apr 30, 2019
1 parent f22c6b9 commit 718f985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worktree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ func (s *RepositorySuite) TestPullAdd(c *C) {
ExecuteOnPath(c, path,
"touch foo",
"git add foo",
"git config user.email [email protected]",
"git config user.name foo",
"git commit -m foo foo",
)

Expand Down

0 comments on commit 718f985

Please sign in to comment.