Thread (10 messages) flat view 10 messages, 6 authors, 2016-06-15

Re: wishlist: git gui not listing untracked files in unstaged list

From: Patrick Higgins <hidden>
Date: 2016-06-15 22:48:24

Shawn O. Pearce <spearce <at> spearce.org> writes:
Junio C Hamano <gitster <at> pobox.com> wrote:
I have no idea why the original poster isn't getting his ignore
list(s) to work.  I also have no idea why dropping the --others
flag from the ls-files command gets him a useful result.
I'm seeing a similar problem. For me, it's caused by defining
core.excludesfile to "~/.gitexcludes". The git config documentation
says that this will be expanded to my home directory. It appears that
git gui doesn't do this and instead runs "git ls-files --others -z
--exclude-from='~/.gitexcludes'"

That chokes with:

fatal: cannot use ~/.gitexcludes as an exclude file

Changing core.excludesfile to use a fully-qualified path instead of ~/
fixes the problem for me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help