1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-19 20:34:19 +00:00
cyqsimon 14ddda0a8b
Recognize files in $XDG_CONFIG_HOME/git/ and $HOME/.config/git/ better (#2067)
* git global config - lookup $XDG_CONFIG_HOME faithfully

* Use `bool::then`

* Cover both `$XDG_CONFIG_HOME` & `$HOME/.config`

* Remove unused import

* Global git config tests

* Added trailing newline

* Fix git config test

* Wrote to changelog

* Revert change of `Result::ok` to `Result::unwrap`

* Apply suggestions from code review

Co-authored-by: Martin Nordholts <enselic@gmail.com>

* Guard against empty `$HOME`

Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-02-26 17:01:00 +01:00
..
2018-10-11 07:06:13 +02:00
2018-10-19 21:04:46 +02:00
2018-10-11 07:06:13 +02:00
2020-02-28 09:06:51 +01:00