Code

History

Commits on git-commitgraph-v0.10.0 to git-config/src140+
  1. change!: Rename `Mutable*` into `$1Mut` for consistency. (#331)Sebastian Thiel committed 4 years ago393b392
  2. fix: `file::MutableSection::remove()` now actually removes keys _and_ values. (#331)Sebastian Thiel committed 4 years ago94dde44
  3. many more tests for MutableSection (#331)Sebastian Thiel committed 4 years agoac843cb
  4. refactor (#331)Sebastian Thiel committed 4 years ago701266e
  5. make fmtSebastian Thiel committed 4 years agoaa9fdb0
  6. change!: conform APIs of `file::MutableValue` and `file::MutableMultiValue`. (#331)Sebastian Thiel committed 4 years ago0a7391a
  7. fix: `file::MutableMultiValue` escapes input values and maintains key separator specific whitespace. (#331)Sebastian Thiel committed 4 years ago048b925
  8. thanks clippySebastian Thiel committed 4 years agoc9a2390
  9. feat: place spaces around `key = value` pairs, or whatever is used in the source configuration. (#331)Sebastian Thiel committed 4 years ago5418bc7
  10. avoid extra copies when setting values and escaping them (#331)Sebastian Thiel committed 4 years agoa7eff01
  11. refactor (#331)Sebastian Thiel committed 4 years ago15cd1d2
  12. thanks clippySebastian Thiel committed 4 years agobadd00c
  13. more empty-value tests (#331)Sebastian Thiel committed 4 years ago511985a
  14. default space is just a single tab, not two ones (#331)Sebastian Thiel committed 4 years ago7e03b83
  15. feat: proper escaping of value bytes to allow round-tripping after mutation (#331)Sebastian Thiel committed 4 years ago8118644
  16. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  17. a few tests for `MutableValue` showing that it's too buggy right now (#331)Sebastian Thiel committed 4 years ago5e6f9d9
  18. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  19. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  20. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d
  21. feat: whitespace in mutable sections can be finely controlled, and is derived from existing sections (#331)Sebastian Thiel committed 4 years ago9157717
  22. refactor (#331)Sebastian Thiel committed 4 years agoc88eea8
  23. refactor (#331)Sebastian Thiel committed 4 years agoa0d6caa
  24. auto-compute whitespace for sections, even though it probably needs to be better than that (#331)Sebastian Thiel committed 4 years agoee9ac95
  25. validation for Keys and header names (#331)Sebastian Thiel committed 4 years ago59ec7f7
  26. fix!: Simplify specifying keys when mutating config values. (#331)Sebastian Thiel committed 4 years agoa93a156
  27. fix!: `File::rename_section()` with validation of input arguments. (#331)Sebastian Thiel committed 4 years ago895ce40
  28. re-add newlines after multi-line values (#331)Sebastian Thiel committed 4 years ago9a2f597
  29. change!: Enforce `parse::section::Header::new()` by making its fields private. (#331)Sebastian Thiel committed 4 years ago219cf7a
  30. feat: `parse::Header::new(…)` with sub-section name validation (#331)Sebastian Thiel committed 4 years agoae3895c
  31. feat!: section names are now validated. (#331)Sebastian Thiel committed 4 years agocfd974f
  32. prepare for validation of `parse::section::Header` (#331)Sebastian Thiel committed 4 years ago00592f6
  33. basic escaping of subsection names during serialization (#331)Sebastian Thiel committed 4 years ago00d1a9b
  34. change!: Add `File::write_to()` and `File::to_bstring()`; remove some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago4f6cd8c
  35. change!: remove `Integer::to_bstring()` as well as some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago0e392f8