From: Junio C Hamano Date: Wed, 10 Mar 2010 22:30:17 GMT Subject: Re: wishlist: git gui not listing untracked files in unstaged list Message-ID: <7v3a07q07a.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100310221403.GF21994@spearce.org> "Shawn O. Pearce" writes: > Jeff King wrote: >> This is an inconsistency in the way that tilde-expansion is handled. The >> core.excludesfile config variable is expanded internally with the >> "pathname" magic (git_config_pathname). But handing the filename >> directly to ls-files --exclude-from does not do that expansion. >> >> So either there is a bug in ls-files, which should expand from the >> command line, or one in git-gui, which should be using "git config >> --path core.excludesfile" to get the path. > > I'd say its git-gui, yes? Doesn't my shell automatically do > --exclude-from=~/my.list for me? Its not the command's job > to do that expansion. I'd agree.