File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ fn save_pr_branch_files(
418418}
419419
420420// Set global Git config for user email and name
421- fn set_git_global_user_config ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
421+ pub fn set_git_global_user_config ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
422422 // Set global email
423423 Command :: new ( "git" )
424424 . args ( & [ "config" , "--global" , "user.email" , "[email protected] " ] ) @@ -439,7 +439,7 @@ pub fn checkout(
439439 pr_branch : Option < & str > ,
440440) -> Result < ( ) , Box < dyn std:: error:: Error > > {
441441 // Step 1: Clone the repository
442- set_git_user_config ( ) ?;
442+ set_git_global_user_config ( ) ?;
443443 let mut clone_cmd = Command :: new ( "git" ) ;
444444 clone_cmd. arg ( "clone" ) . arg ( clone_url) . arg ( clone_path) ;
445445 if let Some ( branch) = base_branch {
You can’t perform that action at this time.
0 commit comments