diff options
| author | Liz Prucka <lizprucka@google.com> | 2023-06-05 10:23:32 -0500 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-06-15 21:16:10 +0200 |
| commit | f3921d4d63f97d1f1fb49a69ea85744bb7ef184b (patch) | |
| tree | c7996c603dd5d855fb90c62235625805819b8d33 /pkg/csource/generated.go | |
| parent | b27a175519cd5a94f2b1e259f9ceae8a585faf2c (diff) | |
pkg/vcs: force git branch checkout
We are currently seeing errors that there are "untracked working
tree files which would be overrwritten by checkout".
This error occurs when files of the same path differ between branches,
regardless of whether the repository is clean or not.
Forcing FETCH_HEAD checkout, then moving repair() to after checkout
to clean repository to the current checkout.
Additionally, added a second "force" to git clean to clean directories
with '.git' subdirectories.
Diffstat (limited to 'pkg/csource/generated.go')
0 files changed, 0 insertions, 0 deletions
