freebsd-doc icon indicating copy to clipboard operation
freebsd-doc copied to clipboard

handbook: Add git switch info for shallow clones

Open zhmylove opened this issue 11 months ago • 2 comments

Some people do not read man git-clone(1) and complain about "a bug" in the ports part of our handbook. This PR clarifies the instruction on git switch with --depth 1

zhmylove avatar Jan 19 '25 14:01 zhmylove

I wonder if you should reword example 4 and 5 instead, since the paragraph above the examples says (paraphrased) "were using --depth 1 but if you want it deeper just omit that from the following examples"?

concussious avatar Jun 14 '25 14:06 concussious

@concussious nice catch! Thank you. Updated the PR

zhmylove avatar Jun 15 '25 15:06 zhmylove

@bsdimp what do you think about these changes? Can I commit them? Thanks for the review.

sergio-carlavilla avatar Jul 27 '25 11:07 sergio-carlavilla

OK. I'm sold. Sorry it's taken me a while to get back to this.

bsdimp avatar Aug 31 '25 18:08 bsdimp

50735390bd lands the change.

bsdimp avatar Aug 31 '25 18:08 bsdimp