We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c16fbd commit c5e19cfCopy full SHA for c5e19cf
tests/util/git_harness.lua
@@ -39,6 +39,8 @@ function M.prepare_repository()
39
local working_dir = util.create_temp_dir("working-dir")
40
vim.api.nvim_set_current_dir(working_dir)
41
util.system(string.format("git clone %s %s", bare_repo_path, working_dir))
42
+ util.system("git config user.email 'test@neogit.git'")
43
+ util.system("git config user.name 'Neogit Test User'")
44
util.system("git reset --soft HEAD~1")
45
util.system("git rm --cached untracked.txt")
46
util.system("git restore --staged a.txt")
0 commit comments