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

2018-03-07 Thread Dorab Patel
Thanks for updating us with the status of git.el. The last time I looked at magit, it was too heavyweight for my needs. I like the simplicity of git.el. But perhaps it's time for me to take another look at magit. On Tue, Mar 6, 2018 at 3:54 AM, Alexandre Julliard wrote: >

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

2018-03-05 Thread Dorab Patel
0e9 (git.el: Take into account the core.excludesfile config option., 2007-07-31), whereas the "--exclude-standard" option was introduced by commit 8e7b07c8a7 (git-ls-files: add --exclude-standard, 2007-11-15), three and a half months later. This explains why the "--exclude-standard" option was no

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

2018-03-03 Thread Dorab Patel
wrote: > On Sat, Mar 3, 2018 at 8:36 PM, Dorab Patel <dorabpa...@gmail.com> wrote: >> Correct me if I'm wrong, but my understanding, from >> https://git-scm.com/docs/gitignore, is that $HOME/.gitignore is used >> only if it is specified as the value of core.excludesfile i

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

2018-03-03 Thread Dorab Patel
ghts? On Sat, Mar 3, 2018 at 12:42 AM, Eric Sunshine <sunsh...@sunshineco.com> wrote: > On Fri, Mar 2, 2018 at 10:48 PM, Dorab Patel <dorabpa...@gmail.com> wrote: >> The previous version only looked at core.excludesfile for locating the >> excludesfile. So, when core.

[PATCH] git.el: handle default excludesfile properly

2018-03-02 Thread Dorab Patel
location depending on whether XDG_CONFIG_HOME is defined or not. As per the documentation of gitignore. Signed-off-by: Dorab Patel <dorabpa...@gmail.com> --- contrib/emacs/git.el | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/emacs/git.el b/contrib/emacs/