Code

History

Commits on git-command-v0.2.2 to git-index/tests35+
  1. feat: `entry::Time` can convert from and to system time.Sebastian Thiel committed 3 years ago1e3341a
  2. feat: add `State::sort_entries()` and `State::dangerously_push_entry()`.Sebastian Thiel committed 3 years ago654bd8f
  3. feat: add `State::entry_mut_by_path_and_stage()`Sebastian Thiel committed 3 years agoaa1b6ee
  4. feat: `State::write_to()` respects the `REMOVED` flag.Sebastian Thiel committed 3 years ago3ebe2d4
  5. feat: add `File::at_or_default(...)` to easily open or create an empty in-memory index.Sebastian Thiel committed 3 years ago5cc3a15
  6. feat: add `State::new()` to create a new empty in-memory index.Sebastian Thiel committed 3 years ago0b40951
  7. change!: remove `File::into_state()` in favor of `From<File> for State`.Sebastian Thiel committed 3 years ago3753ad5
  8. feat: add `File::set_path()` to allow setting the location of an index file on disk.Sebastian Thiel committed 3 years agoa7183e2
  9. adjust to changes in `git-testtools`Sebastian Thiel committed 3 years ago4eb842c
  10. make fmtSebastian Thiel committed 3 years ago0abab7d
  11. remove unused import; fix docsSebastian Thiel committed 4 years agoefe0a51
  12. Remove tests and scaffolding code that probably won't be implemented soon.Sebastian Thiel committed 4 years ago177d1c8
  13. Act like git and write a sparse index even if it contains no dir entries anymore.Sebastian Thiel committed 4 years ago53af48c
  14. Merge branch 'main' into write-sparse-indexSebastian Thiel committed 4 years agoc4e6849
  15. make fmtSebastian Thiel committed 4 years agoea2136b
  16. add and use `checked_is_sparse()` instead of cached `is_sparse` flagSidney Douw committed 4 years agoe41ad0f
  17. thanks clippySidney Douw committed 4 years ago646b868
  18. added fixture, adjusted tests, refactorSidney Douw committed 4 years ago3173c0b
  19. Make clear in code that mandatory extensions will always be written…Sebastian Thiel committed 4 years ago3e37443
  20. respect the current 'is_sparse()` state when writing.Sebastian Thiel committed 4 years ago2012b27
  21. WIP: sketch out how a write implementation could workSidney Douw committed 4 years ago4a6d46f
  22. regenerated archiveSidney Douw committed 4 years agocd1c752
  23. added first tests and implementation for writing the `sdir` extensionSidney Douw committed 4 years ago66a675f
  24. added tests for reading sparse indexesSidney Douw committed 4 years agoddaa003
  25. add temporary sparse index playground testfileSidney Douw committed 4 years ago5589a7f
  26. add sparse index text fixturesSidney Douw committed 4 years ago8a8a53e
  27. change!: `write::Options::object_hash` is now implied by the `State` itself.Sebastian Thiel committed 4 years ago59f6791
  28. change!: `decode::Options::object_hash` is now a parameter to methods.Sebastian Thiel committed 4 years ago908163a
  29. feat: `decode::Options::default_from_object_hash()`Sebastian Thiel committed 4 years ago9e03110
  30. change!: seal `File` members to preserve consistency better.Sebastian Thiel committed 4 years ago92dda50
  31. remove!: `decode::Options::default()` - remove `Default` impl.Sebastian Thiel committed 4 years agobd312ac
  32. fix testsSebastian Thiel committed 4 years agofc5cee1
  33. assure we also write V3 files, validate auto-version discoverySebastian Thiel committed 4 years agoabc3cf8
  34. loose fixtures are usable more easily nowSebastian Thiel committed 4 years agob86012b
  35. remove!: remove `write::Options::default()`.Sebastian Thiel committed 4 years ago2da5a62