Code

History

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