File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ fn update_branch(
262262 } else {
263263 repo. find_local_branch ( & branch. name )
264264 }
265- . ok_or_else ( || eyre:: eyre!( "Can no longer find branch {}" , branch) . into ( ) )
265+ . ok_or_else ( || eyre:: eyre!( "Can no longer find branch {}" , branch) )
266266}
267267
268268pub fn stack (
@@ -867,7 +867,7 @@ fn git_push_node(
867867 if node. pushable {
868868 let raw_branch = repo
869869 . raw ( )
870- . find_branch ( & local_branch, git2:: BranchType :: Local )
870+ . find_branch ( local_branch, git2:: BranchType :: Local )
871871 . expect ( "all referenced branches exist" ) ;
872872 let upstream_set = raw_branch. upstream ( ) . is_ok ( ) ;
873873
@@ -877,7 +877,7 @@ fn git_push_node(
877877 args. push ( "--set-upstream" ) ;
878878 }
879879 args. push ( remote) ;
880- args. push ( & local_branch) ;
880+ args. push ( local_branch) ;
881881 log:: trace!( "git {}" , args. join( " " ) , ) ;
882882 if !dry_run {
883883 let status = std:: process:: Command :: new ( "git" ) . args ( & args) . status ( ) ;
You can’t perform that action at this time.
0 commit comments