From: Junio C Hamano Date: Wed, 10 Mar 2010 19:59:39 GMT Subject: Re: wishlist: git gui not listing untracked files in unstaged list Message-ID: <7vaaugrlqs.fsf@alter.siamese.dyndns.org> In-Reply-To: MALAISE Pascal writes: > Many projects are organized so that the result of compilation is mixed with > sources. > It would be very useful to configure git gui so that untracked files are not > listed in the un-staged list. > I have patched git gui, function rescan_stage2, line 1414 to do so: > # set fd_lo [eval git_read ls-files --others -z $ls_others] > set fd_lo [eval git_read ls-files -z $ls_others] Shouldn't this line instead be running this: ls-files --others --exclude-standard -z $ls_others so that it would use the usual .gitignore mechanism?