Re: /usr/src and /usr/ports not git directories ?
- Reply: bob prohaska : "Re: /usr/src and /usr/ports not git directories ?"
- In reply to: bob prohaska : "/usr/src and /usr/ports not git directories ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Jan 2025 20:31:07 UTC
On Sat, Jan 18, 2025 at 09:29:03AM -0800, bob prohaska wrote: > A fresh install of > FreeBSD-15.0-CURRENT-amd64-20250102-3d0a0dda3a7d-274510-memstick.img > set up without much difficulty and Xorg seems to work out of the box > on my Lenovo t400s. Both src and ports directories were installed by > bsdinstall, but an attempt to run git pull in the src directory failed > with "not a git repository", even though .git entries are present. > > The most visible problem is lack of a /usr/src/.git directory. Can > the existing src and ports directories be salvaged? Not exactly answering the question you asked, but when I install FreeBSD I typicaly do not select src and ports, and instead do a git checkout of them afterwards. Cheers, sr.