summaryrefslogtreecommitdiff
path: root/t/t5404-tracking-branches.sh
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-01-28 16:04:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-01 14:18:56 -0800
commit3f3e76082bc29ff647dff16de9f0145a4d582825 (patch)
tree202f07a599663c3f9659920b2051018852899a1c /t/t5404-tracking-branches.sh
parentbranch: make create_branch() always create a branch (diff)
downloadtgif-3f3e76082bc29ff647dff16de9f0145a4d582825.tar.xz
branch: add a dry_run parameter to create_branch()
Add a dry_run parameter to create_branch() such that dry_run = 1 will validate a new branch without trying to create it. This will be used in `git branch --recurse-submodules` to ensure that the new branch can be created in all submodules. Signed-off-by: Glen Choo <chooglen@google.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5404-tracking-branches.sh')
0 files changed, 0 insertions, 0 deletions