[Bug 2880] Git ignores (almost) all makefiles in subdirectories ./regress/*
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 3 16:39:22 AEST 2018
https://bugzilla.mindrot.org/show_bug.cgi?id=2880
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Hi Torben,
I can't reproduce this. E.g.
$ pwd
/Users/djm/cvs/openssh
$ echo foo >> regress/misc/Makefile
$ git diff
diff --git a/regress/misc/Makefile b/regress/misc/Makefile
index 14c0c279..07a8f1c2 100644
--- a/regress/misc/Makefile
+++ b/regress/misc/Makefile
@@ -1,3 +1,4 @@
SUBDIR= kexfuzz
.include <bsd.subdir.mk>
+foo
Moreover the behaviour you describe seems at odds with this line from
the manual for gitignore:
> If the pattern does not contain a slash /, Git treats it as a shell glob
> pattern and checks for a match against the pathname relative to the location
> of the .gitignore file (relative to the toplevel of the work tree if not
> from a .gitignore file).
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list