We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cb3cc9 commit 1259c9dCopy full SHA for 1259c9d
src/gitignore.zig
@@ -35,6 +35,8 @@ pub const IgnoreTracker = struct {
35
var line = split.next();
36
37
while (line != null) : (line = split.next()) {
38
+ // remove stray \r characters from Windows line endings
39
+ line = std.mem.trimRight(u8, line.?, "\r");
40
if (line.?.len == 0) continue;
41
switch (line.?[0]) {
42
// comment
0 commit comments