src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 542 forks source link

worktree: Set local user config for reproducible testing #1139

Open jmkim opened 5 years ago

jmkim commented 5 years ago

The test goes fail with git exit status 128 while committing when git config is not set globally or locally.

This patch sets dummy local git config before committing, for testing.

Fixes #1138