diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-12-11 00:47:13 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-01-27 22:56:06 +0100 |
commit | e7b4d108e19913362e92b17fa6ad5b7c9afba23f (patch) | |
tree | 9861b1b3cee48e98ed6339cf11e7ee915bf702b5 /org.eclipse.jgit.packaging | |
parent | 0d33af9ff5604b1913e91606bcbc63f2fd36197d (diff) | |
download | jgit-e7b4d108e19913362e92b17fa6ad5b7c9afba23f.tar.gz jgit-e7b4d108e19913362e92b17fa6ad5b7c9afba23f.zip |
Enable cloning only specific tags
Single-branch-clone should be able to clone a single tag. Enhance
CloneCommand to accept also full refs of tags in setBranchesToClone().
Make sure we also include fetch ref specs for the fetch command for
tags. This mimics the behavior of native git's single-branch clone:
git clone --branch <tag> --single-branch <URI>
Bug: 542611
Change-Id: I285cf043751d9b0ba71258ee8214c0e5d1191428
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.packaging')
0 files changed, 0 insertions, 0 deletions