[lkml]   [2010]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: gitignore broken in git slash checks leading dirs
    Jiri Slaby schrieb:
    > having 'linux' line in .gitignore makes 'include/linux/vga_switcheroo.h'
    > to be ignored

    That's the behavior that I would expect.

    > though the documentation says:
    > ***
    > If the pattern does not contain a slash /, git treats it as a shell
    > glob pattern and checks for a match against the pathname without
    > leading directories.
    > ***

    and this citation confirms my expectation. Note that it says "pathname",
    not "filename". 'include/linux' is a "pathname".

    -- Hannes

     \ /
      Last update: 2010-03-05 10:57    [W:0.018 / U:42.464 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site