Web lists-archives.com

Re: [PATCH] git.el: handle default excludesfile properly

On Fri, Mar 2, 2018 at 10:48 PM, Dorab Patel <dorabpatel@xxxxxxxxx> wrote:
> The previous version only looked at core.excludesfile for locating the
> excludesfile.  So, when core.excludesfile was not defined, it did not
> use the possible default locations.
> The current version uses either $XDG_CONFIG_HOME/git/ignore or
> $HOME/.config/git/ignore for the default excludesfile location
> depending on whether XDG_CONFIG_HOME is defined or not.  As per the
> documentation of gitignore.

Perhaps take $HOME/.gitignore into account too?

> Signed-off-by: Dorab Patel <dorabpatel@xxxxxxxxx>