ethanmdavidson/packer-plugin-git

Automatically find repository root

ethanmdavidson opened this issue · 1 comments

When git is run inside a repository, it will traverse up the file tree until it finds a directory containing the .git folder (the repo root). This allows git commands to be run from anywhere inside a repo.

This plugin should do a similar thing to save people from having to configure the directory path every time the move things around. Probably want to keep directory as an optional config, so that it can be explicitly set when the auto-find doesn't work for w/e reason.