All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Ericsson <ae@op5.se>
To: Miles Bader <miles@gnu.org>
Cc: git@vger.kernel.org
Subject: Re: git add -i fails to heed user's exclude settings
Date: Thu, 08 Nov 2007 10:46:00 +0100	[thread overview]
Message-ID: <4732DAD8.8000702@op5.se> (raw)
In-Reply-To: <buowsstmapt.fsf@dhapc248.dev.necel.com>

Miles Bader wrote:
> 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!
> 

Which git version are you using?

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

  reply	other threads:[~2007-11-08  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08  7:56 git add -i fails to heed user's exclude settings Miles Bader
2007-11-08  9:46 ` Andreas Ericsson [this message]
2007-11-08 10:17   ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4732DAD8.8000702@op5.se \
    --to=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.