git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: SungHyun Nam <goweol@gmail.com>
To: git@vger.kernel.org
Subject: 'git add' regression in git-1.7?
Date: Fri, 19 Feb 2010 13:30:54 +0900	[thread overview]
Message-ID: <hll45t$50o$1@ger.gmane.org> (raw)

Hello,

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

If I removed 'tmp/' from the .gitignore, git add works
fine.

Because I have backup copies of GIT, I tested serveral versions.
The version below works as expected.
     git version 1.6.6.243.gff6d2

And below does NOT work.
     git version 1.7.0.rc1.7.gc0da5
     git version 1.7.0.31.g1df487

Thanks,
namsh

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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19  4:30 SungHyun Nam [this message]
2010-02-19  4:42 ` 'git add' regression in git-1.7? Avery Pennarun
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='hll45t$50o$1@ger.gmane.org' \
    --to=goweol@gmail.com \
    --cc=git@vger.kernel.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 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).