Commit Graph

5 Commits

Author SHA1 Message Date
Denis Bilenko 4d38475ff3 refactor test code a bit - extract helper assert groups 2024-12-03 09:19:45 +01:00
Denis Bilenko 8fe958f67b Do not fail on git operations in bundle and sync, log warnings instead; add more tests.
- Change GitRepositoryInfo.WorktreeRoot to string
- Restore original warnings logs for when branch and commit could not be read
- Add new logs for when repository could not be read. However, if we can figure out git root then use it, even if parsing later fails.
2024-12-03 09:15:50 +01:00
Denis Bilenko 017836f1a7 prefix integration tests with TestAcc 2024-12-03 09:15:50 +01:00
Denis Bilenko 42502513bf use t.Cleanup instead of defer 2024-12-03 09:15:50 +01:00
Denis Bilenko 0ba23142a2 add test for FetchRepositoryInfo 2024-12-03 09:15:50 +01:00