git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git add -i fails to heed user's exclude settings
@ 2007-11-08  7:56 Miles Bader
  2007-11-08  9:46 ` Andreas Ericsson
  0 siblings, 1 reply; 3+ messages in thread
From: Miles Bader @ 2007-11-08  7:56 UTC (permalink / raw)
  To: git

Inside git add -i, option 4 "add untracked", it doesn't seem to consider
the user's personal ignore patterns, which is _really_ annoying.

E.g., I have:

   $ git config core.excludesfile
   /home/miles/.gitignore

   $ cat /home/miles/.gitignore
   [+,#]*
   *~

   $ git status
   # On branch master
   nothing to commit (working directory clean)

   $ git add -i
              staged     unstaged path

   *** Commands ***
     1: status       2: update       3: revert       4: add untracked
     5: patch        6: diff         7: quit         8: help
   What now> 4
     1: ,l
     2: ,l.~1~
     3: AUTHORS.~1~
     4: Makefile.am.~1~
     5: config.h.in~
     6: configure.ac.~1~
     ...tons of other random backup files etc...

This makes it very hard to find files that actually need to be added!

Thanks,

-Miles

-- 
o The existentialist, not having a pillow, goes everywhere with the book by
  Sullivan, _I am going to spit on your graves_.

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

end of thread, other threads:[~2007-11-08 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08  7:56 git add -i fails to heed user's exclude settings Miles Bader
2007-11-08  9:46 ` Andreas Ericsson
2007-11-08 10:17   ` Miles Bader

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).