[PATCH 0/2] branch: fix some malfunctions in -m/-c
- From
Rubén Justo <rjusto@gmail.com>
- Date
- Nov 17, 2022, 01:33 UTC
- Message-ID
- <f0b2d46c-2e9c-2630-2870-8ed550dd1606@gmail.com>
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