Skip to content

branch: add 'branch.addCurrentBranchAsPrefix' config param

Yoann Valeri via GitGitGadget git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

* Added a '--no-prefix' option to git branch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2branch: add 'branch.addCurrentBranchAsPrefix' config paramDocumentation/config/branch.adoc branch.c branch.h +5 more+142 -220 replies
2/2branch: add a no-prefix optionbuiltin/branch.c t/t3200-branch.sh+10 -31 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] branch: add 'branch.addCurrentBranchAsPrefix' config param

Changes since v1:

* Added a '--no-prefix' option to git branch

VALERI Yoann (2):
branch: add 'branch.addCurrentBranchAsPrefix' config param
branch: add a no-prefix option

 Documentation/config/branch.adoc |  7 +++++
 branch.c                         | 14 +++++++++
 branch.h                         |  8 +++++
 builtin/branch.c                 | 24 ++++++++++-----
 builtin/checkout.c               | 52 +++++++++++++++++++++++---------
 t/t2018-checkout-branch.sh       | 26 ++++++++++++++++
 t/t2060-switch.sh                | 26 ++++++++++++++++
 t/t3200-branch.sh                | 16 ++++++++++
 8 files changed, 150 insertions(+), 23 deletions(-)

base-commit: 7b2bccb0d58d4f24705bf985de1f4612e4cf06e5
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2202%2Fvaleriyoann%2Fbranch-with-prefix-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2202/valeriyoann/branch-with-prefix-v2
Pull-Request: https://github.com/git/git/pull/2202

Range-diff vs v1:

 1:  30a6d8e195 = 1:  49641fb34c branch: add 'branch.addCurrentBranchAsPrefix' config param
 -:  ---------- > 2:  0fbdf031cb branch: add a no-prefix option
Signature · 1 line
gitgitgadget