Re: refining .gitignores

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Thursday, November 15, 2007 - 2:17 pm

Bruce Stephens, Thu, Nov 15, 2007 21:28:06 +0100:

Yes, so it seems. The per-directory ignore-files don't work.
"--exclude-from=" (aka -X) still does.


No, I honestly believed that Git-known files can be ignored. According
to Linus I must be wrong, but I have an excuse:

    $ mkdir aaa
    $ cd aaa
    $ git init
    Initialized empty Git repository in .git/
    $ uname >abc
    $ git add .
    $ ls > .gitignore
    $ git ls-files -X .gitignore
    $ git ls-files -X .gitignore -i
    abc

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
refining .gitignores, Bruce Stephens, (Wed Nov 14, 3:36 pm)
Re: refining .gitignores, Alex Riesen, (Wed Nov 14, 4:02 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 4:39 am)
Re: refining .gitignores, Alex Riesen, (Thu Nov 15, 12:26 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 1:28 pm)
Re: refining .gitignores, Linus Torvalds, (Thu Nov 15, 1:40 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 2:13 pm)
Re: refining .gitignores, Alex Riesen, (Thu Nov 15, 2:17 pm)
Re: refining .gitignores, Linus Torvalds, (Thu Nov 15, 2:56 pm)