Re: wishlist: git gui not listing untracked files in unstaged list
MALAISE Pascal <malaise@magic.fr> writes:
Show 7 quoted lines
> 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?