Write index before writing index tree in seedTestRepo test helper #347
Loading…
Reference in New Issue
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The seedTestRepo() test helper function leaves the seeded repo in an unusual state because the index is not written before the index tree is written. To correct, simply write the index before writing the index tree.
BEFORE change, seedTestRepo() leaves repo in this state:
AFTER change, seedTestRepo() leaves repo in this state: