diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-19 13:12:47 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-19 13:12:47 +0100 |
commit | e269b34319664cd65d45875f11f3e1b8f7179428 (patch) | |
tree | 6ef45b817fb2896496fa07d1b51e77fb5022754a /tests/diff/patch.c | |
parent | e6e6b60f350da2165511c04706eb7e32481394ad (diff) | |
download | libgit2-e269b34319664cd65d45875f11f3e1b8f7179428.tar.gz |
ignore: only skip first leading slashethomson/ignore_leading_slash
For compatibility with git, only skip the first leading slash in an
ignore file. That is: `/a.txt` indicates to ignore a file named `a.txt`
at the root. However `//b.txt` does not indicate that a file named
`b.txt` at the root should be ignored.
Diffstat (limited to 'tests/diff/patch.c')
0 files changed, 0 insertions, 0 deletions