Code

History

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