diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-07-14 11:50:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-15 00:24:34 +0200 |
commit | aceb9429b37a4a36e91f9eeb60e7ba488f73604b (patch) | |
tree | 16b0e9ab9bffa98114425a5bd1934d174fe5f694 /commit.c | |
parent | dir.h: move struct exclude declaration to top level (diff) | |
download | git-aceb9429b37a4a36e91f9eeb60e7ba488f73604b.tar.xz git-aceb9429b37a4a36e91f9eeb60e7ba488f73604b.zip |
prep_exclude: remove the artificial PATH_MAX limit
This fixes a segfault in git-status with long paths on Windows,
where PATH_MAX is only 260.
This also fixes the problem of silently ignoring .gitignore if the
full path exceeds PATH_MAX. Now add_excludes_from_file() will report
if it gets ENAMETOOLONG.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions