internal/vcs: new package
This provides access to the VCS primitives that are required
when determining what files what go into a module.
For now, git is enough but we plan to support other VCS
systems in the future.
For #3017.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I9789600d06b3424b22dd08351db6938d2929df7d
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1192906
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>