|
|
|
[
Permlink
| « Hide
]
Robin Shen [22/Apr/18 12:13 PM]
Only "--no-single-branch" is added as I do not want to add another configurable "clone branch" option to confuse users considering there is already a branch related setting
I added a little drawing to maybe make it clearer.
If we want to build "branchcommit-1" it will fail if the "--depth" option is used. With our solution (we know that one config will only build commits from a specified branch) we could either set the "Clone branch" to the branch name where "branchcommit-1" is located or set nothing and we still can reach "branchcommit-1" because the history (limited to depth) is available for all branches. |