Add code for using got(1), matching how git(1) is currently used:
- Determining the git branch,
- Determining the checked-out hash,
- Determining the commit count,
- Determining the timestamp of the most recent commit,
- Determining if the tree is "dirty",
- Generating lists of files for the src and src-sys packages, and
- Excluding .got directories from src.txz and ports.txz.
The release engineer hopes to use this functionality in release builds,
since got's minimalism makes it a far more manageable build tool than
git.
MFC after: 1 week
Sponsored by: Amazon