git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avery Pennarun <apenwarr@gmail.com>
To: SungHyun Nam <goweol@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: 'git add' regression in git-1.7?
Date: Thu, 18 Feb 2010 23:42:48 -0500	[thread overview]
Message-ID: <32541b131002182042p610fce4ex96efbffea9afe2ed@mail.gmail.com> (raw)
In-Reply-To: <hll45t$50o$1@ger.gmane.org>

On Thu, Feb 18, 2010 at 11:30 PM, SungHyun Nam <goweol@gmail.com> wrote:
> 'git add' does NOT add files in ignored path.
>
> When the .gitignore file contains:
>    tmp/
> If I do:
>    git add tmp/test.txt
> Nothing happens.

Try using:
     git add -f tmp/test.txt

Avery

  reply	other threads:[~2010-02-19  4:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19  4:30 'git add' regression in git-1.7? SungHyun Nam
2010-02-19  4:42 ` Avery Pennarun [this message]
2010-02-19  5:04   ` SungHyun Nam
2010-02-19  5:15     ` Avery Pennarun
2010-02-19  5:34       ` Jeff King
2010-02-19  6:02         ` Jeff King
2010-02-19  8:24           ` Jeff King
2010-03-01  2:00             ` Junio C Hamano
2010-03-01  3:25               ` [PATCH] add: fail "git add ignored-dir/file" without -f Junio C Hamano
2010-03-01  8:26                 ` [PATCH 1/3] t0050: mark non-working test as such Junio C Hamano
2010-03-09 22:37               ` 'git add' regression in git-1.7? Jeff King
2010-03-09 23:09                 ` Jeff King
2010-03-10  7:06                   ` Junio C Hamano
2010-03-11  7:15                     ` Jeff King
2010-03-14  6:34                       ` Junio C Hamano
2010-03-14 20:44                         ` Jeff King
2010-03-15  2:02                           ` Junio C Hamano

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=32541b131002182042p610fce4ex96efbffea9afe2ed@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=goweol@gmail.com \
    /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 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).