Code

History

Commits on git-commitgraph-v0.8.2 to git-config/src/file/access35+
  1. fix: Properly handle boolean values such that `a` is true but `a=` is false. (#450)Sebastian Thiel committed 4 years ago08c50a4
  2. fix: Keep track of a severe limitation and prepare tests for fixing it. (#450)Sebastian Thiel committed 4 years ago7c58516
  3. feat!: `file::SectionMut::push()` now supports values without key-value separator. (#450)Sebastian Thiel committed 4 years agob6cd6ac
  4. feat: `File::set_raw_value_filter()` to set values only in sections passing a filter. (#450)Sebastian Thiel committed 4 years ago9937d0e
  5. feat: `File::section_mut_or_create_new_filter()` to allow chosing which sections to add values to. (#450)Sebastian Thiel committed 4 years ago17455c9
  6. change!: Add `File::set_raw_value()` to unconditionally set single values, and make the value itself easier to provide. (#450)Sebastian Thiel committed 4 years ago2b2357e
  7. feat: `File::section_mut_or_create_new(…)` to obtain an existing or new section for mutation. (#450)Sebastian Thiel committed 4 years ago5902f54
  8. rename!: `File::set_raw_[multi_]value()` to `::set_existing_raw_[multi_]value`. (#450)Sebastian Thiel committed 4 years ago69ec594
  9. make fmtSebastian Thiel committed 4 years ago47724c0
  10. Fix typosKian-Meng Ang committed 4 years agoe9fcb70
  11. first sketch of using configuration and environment variables for author/committer (#331)Sebastian Thiel committed 4 years ago330d0a1
  12. Serialize lossily-read configuration files correctly anyway. (#331)Sebastian Thiel committed 4 years agocfda0c3
  13. finally proper whitespace handling in all the right places for perfect roundtripping to/from string (#331)Sebastian Thiel committed 4 years ago97e5ede
  14. serializations maintains some invariants about whitespace where possible. (#331)Sebastian Thiel committed 4 years agoee10dd5
  15. refactor (#331)Sebastian Thiel committed 4 years ago9c248ee
  16. feat: `File` now compares actual content, ignoring whitespace and comments. (#331)Sebastian Thiel committed 4 years ago14a68a6
  17. fix: maintain insertion order of includes on per-section basis at least. (#331)Sebastian Thiel committed 4 years ago6c1588f
  18. allow insertion of sections while preserving order (#331)Sebastian Thiel committed 4 years agof5580a3
  19. fix: maintain newline format depending on what's present or use platform default. (#331)Sebastian Thiel committed 4 years agof7bd2ca
  20. prepare for passing through newline (#331)Sebastian Thiel committed 4 years ago3c06f88
  21. feat: Add `File::detect_newline_style()`, which does at it says. (#331)Sebastian Thiel committed 4 years ago26147a7
  22. feat: `File::frontmatter()` and `File::sections_and_postmatter()`. (#331)Sebastian Thiel committed 4 years ago0ad1c9a
  23. thanks clippySebastian Thiel committed 4 years agoe5ba0f5
  24. feat!: add `_filter()` versions to most access methods. (#331)Sebastian Thiel committed 4 years ago1ea26d8
  25. even better handling of newlines (#331)Sebastian Thiel committed 4 years ago50c1753
  26. refactor (#331)Sebastian Thiel committed 4 years agodf94c67
  27. feat: `parse::Event::to_bstr_lossy()` to get a glimpse at event content. (#331)Sebastian Thiel committed 4 years agofc7e311
  28. finally fix newline behaviour (#331)Sebastian Thiel committed 4 years agoc70e135
  29. Be smarter about which newline style to use by guessing it based onprior events (#331)Sebastian Thiel committed 4 years ago25ed92e
  30. feat: `File::append()` can append one file to another rather losslessly. (#331)Sebastian Thiel committed 4 years ago09966a8
  31. feat: `File::sections()` to obtain an iterator over all sections, in order. (#331)Sebastian Thiel committed 4 years ago6f97bf0
  32. change!: Associate `file::Metadata` with each `File`. (#331)Sebastian Thiel committed 4 years ago6f4eea9
  33. change!: rename `file::SectionBody` to `file::section::Body`. (#331)Sebastian Thiel committed 4 years agob672ed7
  34. change!: Remove `File::sections_by_name_with_header()` as `::sections_by_name()` now returns entire sections. (#331)Sebastian Thiel committed 4 years ago3bea26d
  35. change!: All accessors in `File` are now using `impl AsRef<str>` where possible for added comfort. (#331)Sebastian Thiel committed 4 years ago3de0cfd