Thor Andreas Rognan <thor.rog...@gmail.com> writes:
> Maybe I'm doing it wrong, or maybe it's the intended behaviour,
> but I find that a trailing whitespace after a pattern in .gitignore
> makes the pattern void with git 184.108.40.206.
I doubt we do anything clever like that.
$ git init
$ touch hello.o "hello.o " "hello.o " hello.c
$ echo "*.o " >.gitignore
$ git status | cat -e
# On branch master$
# Initial commit$
# Untracked files:$
# (use "git add <file>..." to include in what will be committed)$
# hello.o $
nothing added to commit but untracked files present (use "git add" to
The user tells to ignore anything followed by a dot followed by a
lowercase Oh followed by a SP. We ignore "hello. ", but not "hello.o"
nor "hello.o " (two SPs at the end), just as told.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html