arxanas / git-branchless

High-velocity, monorepo-scale workflow for Git
Apache License 2.0
3.44k stars 85 forks source link

[8/15] testing: configure repos cloned with `Git::clone_repo_into` #1227

Closed arxanas closed 7 months ago

arxanas commented 7 months ago

Stack:


testing: configure repos cloned with Git::clone_repo_into

I noticed that relative timestamps were enabled in the cloned repo's smartlog. That kind of output is non-deterministic, so it can't go into snapshot tests. To fix this, invoke the same configuration that we do to initialize repositories normally.