diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2021-01-25 01:54:03 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-22 23:11:45 +0100 |
commit | cb8924a80d9e07182a056c01acd418a6beddcc0f (patch) | |
tree | 2263bc474b1524894d9321c7e667d664c9cb60f0 /org.eclipse.jgit.ssh.apache | |
parent | 64cb7148ac64855feb7f7649d1d168d7c6d37860 (diff) | |
download | jgit-cb8924a80d9e07182a056c01acd418a6beddcc0f.tar.gz jgit-cb8924a80d9e07182a056c01acd418a6beddcc0f.zip |
init: allow specifying the initial branch name for the new repository
Add option --initial-branch/-b to InitCommand and the CLI init command.
This is the first step to implement support for the new option
init.defaultBranch. Both were added to git in release 2.28.
See https://git-scm.com/docs/git-init#Documentation/git-init.txt--bltbranch-namegt
Bug: 564794
Change-Id: Ia383b3f90b5549db80f99b2310450a7faf6bce4c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.ssh.apache')
0 files changed, 0 insertions, 0 deletions