Skip to content

v0.2.0

Choose a tag to compare

@initialcommit-io initialcommit-io released this 06 Oct 00:03
· 2 commits to main since this release
b345c07

What's Changed

  • git-dummy is greatly improved to create a much more diverse set of git-repo structures
  • Named scenarios: --scenario merge-conflict, diverged-remote, detached-head, messy-worktree, and 15 more (--list-scenarios)
  • Remotes: --remote adds a bare remote beside the repo by a relative path, with --ahead and --behind for unpushed and unfetched commits
  • Working-tree states: --modified, --staged, --untracked, --stashes, --conflict, --detached, --reflog
  • Structure: --tags, --octopus, --criss-cross, --orphan-branch, --worktree, --submodule
  • Realistic content: --style realistic mimics a small web service with real-looking files, commit messages, and authors, and --seed makes all object ID's reproducible
  • A Python API: git_dummy.build(...) returns the paths, ids, and states it made, for test suites
  • Recipes and scripts: --from repo.json (or YAML), --print-script for plain git commands, --json, and --clean
  • Large histories through git fast-import
  • Classic builds with --constant-sha produce the same commit ids as 0.1.2.

Full Changelog: v0.1.2...v0.2.0