Skip to content

branch: fix some malfunctions in -m/-c

Rubén Justo git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2branch: force-copy a branch to itself via @{-1} is a no-opbuiltin/branch.c t/t3204-branch-name-interpretation.sh+13 -34 replies
2/2branch: clear target branch configuration before copying or renamingbuiltin/branch.c t/t3200-branch.sh+30 -68 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)                                                                                                            
Signature · 1 line
2.36.1