go get would clone the repo automatically but the VCS directory (e.g. .git) would always be in the root directory. If a project's binary is in a sub-directory, goaci could not find the .git thus fails to recognize the VCS repo. This commit adds support for projects where binaries stay in subdirectories of the project repo by recursively search parent directories for the VCS directory.
go get
would clone the repo automatically but the VCS directory (e.g..git
) would always be in the root directory. If a project's binary is in a sub-directory,goaci
could not find the.git
thus fails to recognize the VCS repo. This commit adds support for projects where binaries stay in subdirectories of the project repo by recursively search parent directories for the VCS directory.