https://bugzilla.mindrot.org/show_bug.cgi?id=2880

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Damien Miller <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to