Code

History

Commits on git-commitgraph-v0.13.02520+
  1. feat: proper escaping of value bytes to allow round-tripping after mutation (#331)Sebastian Thiel committed 4 years ago8118644
  2. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  3. a few tests for `MutableValue` showing that it's too buggy right now (#331)Sebastian Thiel committed 4 years ago5e6f9d9
  4. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  5. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  6. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d
  7. feat: whitespace in mutable sections can be finely controlled, and is derived from existing sections (#331)Sebastian Thiel committed 4 years ago9157717
  8. refactor (#331)Sebastian Thiel committed 4 years agoc88eea8
  9. refactor (#331)Sebastian Thiel committed 4 years agoa0d6caa
  10. auto-compute whitespace for sections, even though it probably needs to be better than that (#331)Sebastian Thiel committed 4 years agoee9ac95
  11. validation for Keys and header names (#331)Sebastian Thiel committed 4 years ago59ec7f7
  12. refactorSebastian Thiel committed 4 years agobffbcee
  13. refactorSebastian Thiel committed 4 years agoe83879c
  14. fix!: Simplify specifying keys when mutating config values. (#331)Sebastian Thiel committed 4 years agoa93a156
  15. remove unused makefile targets and add `nextest` targetSebastian Thiel committed 4 years ago1d8dee2
  16. fix!: `File::rename_section()` with validation of input arguments. (#331)Sebastian Thiel committed 4 years ago895ce40
  17. fix unescaping logic - thanks fuzzerSidney Douw committed 4 years ago9c6281f
  18. re-add newlines after multi-line values (#331)Sebastian Thiel committed 4 years ago9a2f597
  19. more header escaping tests (#331)Sebastian Thiel committed 4 years ago12cf005
  20. change!: Enforce `parse::section::Header::new()` by making its fields private. (#331)Sebastian Thiel committed 4 years ago219cf7a
  21. feat: `parse::Header::new(…)` with sub-section name validation (#331)Sebastian Thiel committed 4 years agoae3895c
  22. feat!: section names are now validated. (#331)Sebastian Thiel committed 4 years agocfd974f
  23. prepare for validation of `parse::section::Header` (#331)Sebastian Thiel committed 4 years ago00592f6
  24. basic escaping of subsection names during serialization (#331)Sebastian Thiel committed 4 years ago00d1a9b
  25. refactor (#331)Sebastian Thiel committed 4 years ago9fac8e0
  26. new roundtrip test on file level (#331)Sebastian Thiel committed 4 years ago78bb93c
  27. change!: Add `File::write_to()` and `File::to_bstring()`; remove some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago4f6cd8c
  28. adapt to breaking changes in `git-config` (#331)Sebastian Thiel committed 4 years agoa02d575
  29. change!: remove `Integer::to_bstring()` as well as some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago0e392f8
  30. change!: remove `Boolean::to_bstring()` along with a few `From` impls. (#331)Sebastian Thiel committed 4 years agob22732a
  31. feat: Add `parse::(Event|section::Header|Comment)::write_to(…)`. (#331)Sebastian Thiel committed 4 years agod087f12
  32. add fuzzerSidney Douw committed 4 years ago2a775c6
  33. check attr values regarless of it being escapedSidney Douw committed 4 years ago6e93144
  34. impl '.as_ref()' for StateSidney Douw committed 4 years ago82074d5
  35. use "to_owned" instead of "into"Sidney Douw committed 4 years ago35c6d38