git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* does "git clean" deliberately ignore "core.excludesFile"?
@ 2019-02-23 15:11 Robert P. J. Day
  2019-02-23 15:28 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2019-02-23 15:11 UTC (permalink / raw)
  To: Git Mailing list

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]


  not sure why i never noticed this before, but the "-x" option for
"git clean" reads:

 -x
     Don’t use the standard ignore rules read from .gitignore
     (per directory) and $GIT_DIR/info/exclude, but do still use
     the ignore rules given with -e options. This allows
     removing all untracked files, including build products.
     This can be used (possibly in conjunction with git reset)
     to create a pristine working directory to test a clean
     build.

  but i see no mention of whether the file specified by
core.excludesFile is taken into account, and perusing the source code
doesn't seem to show that command checking that config option.

  am i misreading something? and if not, is there a reason git clean
does not consult core.excludesFile?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-24 14:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-23 15:11 does "git clean" deliberately ignore "core.excludesFile"? Robert P. J. Day
2019-02-23 15:28 ` Junio C Hamano
2019-02-23 18:06   ` Johannes Schindelin
2019-02-23 18:19     ` Johannes Schindelin
2019-02-23 18:32       ` Robert P. J. Day
2019-02-24  5:30         ` Junio C Hamano
2019-02-24 14:15           ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).