@@ -22,7 +22,7 @@ def f1_is_a_conflict_file(tmpdir):
2222 cmd_output ('git' , 'init' , '--' , repo1 .strpath )
2323 with repo1 .as_cwd ():
2424 repo1_f1 .ensure ()
25- cmd_output ('git' , 'add' , '--' , repo1_f1 . strpath )
25+ cmd_output ('git' , 'add' , '.' )
2626 cmd_output ('git' , 'commit' , '--no-gpg-sign' , '-m' , 'commit1' )
2727
2828 cmd_output ('git' , 'clone' , repo1 .strpath , repo2 .strpath )
@@ -77,7 +77,7 @@ def repository_pending_merge(tmpdir):
7777 cmd_output ('git' , 'init' , repo1 .strpath )
7878 with repo1 .as_cwd ():
7979 repo1_f1 .ensure ()
80- cmd_output ('git' , 'add' , '--' , repo1_f1 . strpath )
80+ cmd_output ('git' , 'add' , '.' )
8181 cmd_output ('git' , 'commit' , '--no-gpg-sign' , '-m' , 'commit1' )
8282
8383 cmd_output ('git' , 'clone' , repo1 .strpath , repo2 .strpath )
@@ -90,7 +90,7 @@ def repository_pending_merge(tmpdir):
9090 # Commit in clone and pull without committing
9191 with repo2 .as_cwd ():
9292 repo2_f2 .write ('child\n ' )
93- cmd_output ('git' , 'add' , '--' , repo2_f2 . strpath )
93+ cmd_output ('git' , 'add' , '.' )
9494 cmd_output ('git' , 'commit' , '--no-gpg-sign' , '-m' , 'clone commit2' )
9595 cmd_output ('git' , 'pull' , '--no-commit' , '--no-rebase' )
9696 # We should end up in a pending merge
0 commit comments