git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git add $ignored_file" fail
@ 2006-05-16 22:07 Santi
  2006-05-16 22:28 ` Linus Torvalds
  0 siblings, 1 reply; 18+ messages in thread
From: Santi @ 2006-05-16 22:07 UTC (permalink / raw)
  To: git, Junio C Hamano

Hi *,

      When you try to add ignored files with the git-add command it
fails because the call to:

git-ls-files -z \
        --exclude-from="$GIT_DIR/info/exclude" \
        --others --exclude-per-directory=.gitignore

      does not output this file because it is ignored. I know I can do it with:

git-update-index --add $ignored_file

I understand the behaviour of git-ls-files but I think it is no the
expected for git-add, at least for me.

    Thanks

    Santi

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

end of thread, other threads:[~2006-05-17 23:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 22:07 "git add $ignored_file" fail Santi
2006-05-16 22:28 ` Linus Torvalds
2006-05-16 22:41   ` Jakub Narebski
2006-05-16 22:42   ` Santi
2006-05-17 11:08     ` Johannes Schindelin
     [not found]       ` <81b0412b0605170604i689a8f7axa5aeb7752dc72072@mail.gmail.com>
2006-05-17 13:41         ` Santi
2006-05-17 13:46           ` Jakub Narebski
2006-05-17 19:23             ` Pavel Roskin
     [not found]               ` <20060517153903.6b896fdd.seanlkml@sympatico.ca>
2006-05-17 19:39                 ` Sean
2006-05-17 19:52                   ` Jakub Narebski
2006-05-17 19:56                 ` Pavel Roskin
2006-05-17 20:26                   ` Linus Torvalds
2006-05-17 20:35                     ` Jakub Narebski
2006-05-17 20:53                       ` Linus Torvalds
2006-05-17 23:07                         ` Junio C Hamano
2006-05-17 23:20                           ` Linus Torvalds
2006-05-17 13:48           ` Johannes Schindelin
2006-05-17 14:49           ` Linus Torvalds

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