Skip to content

Resolve absolute path in .gitignore to relative path#67

Merged
wu-sheng merged 1 commit intomainfrom
gitignore
Sep 8, 2021
Merged

Resolve absolute path in .gitignore to relative path#67
wu-sheng merged 1 commit intomainfrom
gitignore

Conversation

@kezhenxu94
Copy link
Member

@kezhenxu94 kezhenxu94 added the bug Something isn't working label Sep 8, 2021
@kezhenxu94 kezhenxu94 added this to the 0.2.0 milestone Sep 8, 2021
@kezhenxu94 kezhenxu94 requested a review from wu-sheng September 8, 2021 06:00
@kezhenxu94
Copy link
Member Author

Trimming the leading / should fix the bug, whatever/whatever/bin/whatever.go will NOT be ignored, this is the same behavior as .gitignore

@wu-sheng wu-sheng merged commit 62071db into main Sep 8, 2021
@wu-sheng wu-sheng deleted the gitignore branch September 8, 2021 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Eyes] Absolute path resolution bug in git ignore and check escape

2 participants