You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
Git allows ignore files to be specified outside the project directory in places such as $XDG_CONFIG_HOME/git/ignore, ~/.gitconfig, etc. It would be really nice if this package could take those files into account.
The text was updated successfully, but these errors were encountered:
I thought about that when making files readable instead of accepting just a gitignore list, since then you can do [~/.gitignore ((getEnv "XDG_CONFIG_HOME") ++ "git/ignore")].
That works for $XDG_CONFIG_HOME/git/ignore, but it doesn't work for ~/.gitconfig. I think that one is complicated enough that it requires built-in support.
It's a line based format, so it seems you can find all you need with some string and list processing on lib.strings.splitString "\n" (builtins.readFile ~/.gitconfig). What do you think is missing?
It will jump around the filesystem to find include.path includes and the core.excludesfile file/files, but that should not be much of a problem as long as you don't rely on derivations.
Git allows ignore files to be specified outside the project directory in places such as
$XDG_CONFIG_HOME/git/ignore
,~/.gitconfig
, etc. It would be really nice if this package could take those files into account.The text was updated successfully, but these errors were encountered: