mbox series

[0/2] branch: fix some malfunctions in -m/-c

Message ID f0b2d46c-2e9c-2630-2870-8ed550dd1606@gmail.com (mailing list archive)
Headers show
Series branch: fix some malfunctions in -m/-c | expand

Message

Rubén Justo Nov. 17, 2022, 1:33 a.m. UTC
Fix some malfunctions found in git branch, copying and renaming                                                                                               
branches.                                                                                                                                                     
                                                                                                                                                              
                                                                                                                                                              
Rubén Justo (2):                                                                                                                                              
  branch: force-copy a branch to itself via @{-1} is a no-op                                                                                                  
  branch: clear target branch configuration before copying or renaming                                                                                        
                                                                                                                                                              
 builtin/branch.c                      | 17 +++++++++++------                                                                                                 
 t/t3200-branch.sh                     | 19 +++++++++++++++++++                                                                                               
 t/t3204-branch-name-interpretation.sh | 10 ++++++++++                                                                                                        
 3 files changed, 40 insertions(+), 6 deletions(-)                                                                                                            
                                                                                                                                                              
--                                                                                                                                                            
2.36.1