File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -469,11 +469,11 @@ def test_references_and_objects(self, rw_dir):
469469 # ![30-test_references_and_objects]
470470
471471 # [31-test_references_and_objects]
472- git = repo .git
473- git .checkout ("HEAD" , b = "my_new_branch" ) # Create a new branch.
474- git .branch ("another-new-one" )
475- git .branch ("-D" , "another-new-one" ) # Pass strings for full control over argument order.
476- git .for_each_ref () # '-' becomes '_' when calling it.
472+ git_cmd = repo .git
473+ git_cmd .checkout ("HEAD" , b = "my_new_branch" ) # Create a new branch.
474+ git_cmd .branch ("another-new-one" )
475+ git_cmd .branch ("-D" , "another-new-one" ) # Pass strings for full control over argument order.
476+ git_cmd .for_each_ref () # '-' becomes '_' when calling it.
477477 # ![31-test_references_and_objects]
478478
479479 repo .git .clear_cache ()
You can’t perform that action at this time.
0 commit comments