Closed yamin-oanda closed 1 year ago
@yamin-oanda Hi, thank you for opening issue. The main reason I split clone to two command fetch & checkout
is, that's what original CircleCI checkout
do. As you can see checkout
also split clone step to fetch/checkout commands.
This orb intended to follow original checkout
as much as possible, because CircleCI may deploy drastic changes on their checkout logic but orb need to be catched up.
I also initially think to use git clone
, but that's the reason.
Thanks for explaining!
Is there an existing issue that is already proposing this?
Describe the problem imposed by not having this feature
N/A
Describe the solution you'd like
N/A
Other
Hi, this is not really a feature request, it's just a question. (Probably more suited to a GitHub Discussion.) The question is: is there a reasoning behind implementing shallow clone/checkout with two different commands? E.g.:
I'm asking because–wouldn't it be simpler to do it with only a single command? I.e.:
Is there a corner case I'm missing, that is handled by doing clone and checkout separately?