Code

History

Commits on git-command-v0.2.2 to git-index/src35+
  1. feat: add `impl Debug for State` to print all entries in a digestible form.Sebastian Thiel committed 3 years ago6d8eb9f
  2. feat: add `State::sort_entries_by(...)` to allow comparing by additional criteria.Sebastian Thiel committed 3 years ago7c8ba2c
  3. update documentation to make users of `State::dangerously_push_entry()` more aware.Sebastian Thiel committed 3 years agob56de39
  4. feat: `entry::Time` can convert from and to system time.Sebastian Thiel committed 3 years ago1e3341a
  5. feat: add `State::sort_entries()` and `State::dangerously_push_entry()`.Sebastian Thiel committed 3 years ago654bd8f
  6. feat: add `State::entry_mut_by_path_and_stage()`Sebastian Thiel committed 3 years agoaa1b6ee
  7. feat: `State::write_to()` respects the `REMOVED` flag.Sebastian Thiel committed 3 years ago3ebe2d4
  8. feat: expose `git_hash` as `hash` in the root of the crate.Sebastian Thiel committed 3 years agoec36586
  9. feat: add `File::at_or_default(...)` to easily open or create an empty in-memory index.Sebastian Thiel committed 3 years ago5cc3a15
  10. feat: add `State::new()` to create a new empty in-memory index.Sebastian Thiel committed 3 years ago0b40951
  11. change!: remove `File::into_state()` in favor of `From<File> for State`.Sebastian Thiel committed 3 years ago3753ad5
  12. feat: add `File::set_path()` to allow setting the location of an index file on disk.Sebastian Thiel committed 3 years agoa7183e2
  13. feat: name spawned threadsSebastian Thiel committed 3 years agofd2dd3a
  14. make fmtSebastian Thiel committed 3 years ago0abab7d
  15. thanks clippySebastian Thiel committed 4 years ago49b539b
  16. Remove tests and scaffolding code that probably won't be implemented soon.Sebastian Thiel committed 4 years ago177d1c8
  17. refactorSebastian Thiel committed 4 years ago0a74625
  18. Act like git and write a sparse index even if it contains no dir entries anymore.Sebastian Thiel committed 4 years ago53af48c
  19. bake knowledge about sparse related config parameters into types.Sebastian Thiel committed 4 years agoe61957e
  20. Merge branch 'main' into write-sparse-index (upgrade to Rust 1.65)Sebastian Thiel committed 4 years ago5406630
  21. thanks clippySebastian Thiel committed 4 years ago04cfa63
  22. Merge branch 'main' into write-sparse-indexSebastian Thiel committed 4 years agoc4e6849
  23. make fmtSebastian Thiel committed 4 years agoea2136b
  24. add and use `checked_is_sparse()` instead of cached `is_sparse` flagSidney Douw committed 4 years agoe41ad0f
  25. refactorSidney Douw committed 4 years ago3683963
  26. Make clear in code that mandatory extensions will always be written…Sebastian Thiel committed 4 years ago3e37443
  27. respect the current 'is_sparse()` state when writing.Sebastian Thiel committed 4 years ago2012b27
  28. refactorSebastian Thiel committed 4 years agoa929bcf
  29. thanks clippySebastian Thiel committed 4 years ago5bfd947
  30. WIP: sketch out how a write implementation could workSidney Douw committed 4 years ago4a6d46f
  31. updated docsSidney Douw committed 4 years ago77a9d42
  32. added first tests and implementation for writing the `sdir` extensionSidney Douw committed 4 years ago66a675f
  33. capability to write `sdir`extensionSidney Douw committed 4 years ago762e4cb
  34. add `is_sparse` access method for `State`Sidney Douw committed 4 years ago7f012cf
  35. Merge branch 'main' into gix-cloneSebastian Thiel committed 4 years agode4fe06