Skip to content

Ignore patterns from global gitignore#9

Open
matusf wants to merge 1 commit intonpx:masterfrom
matusf:1-include-global-gitignore
Open

Ignore patterns from global gitignore#9
matusf wants to merge 1 commit intonpx:masterfrom
matusf:1-include-global-gitignore

Conversation

@matusf
Copy link
Copy Markdown

@matusf matusf commented Mar 18, 2020

Hi! First of all, thanks for this awesome extension!
I've added a functionality to ignore patterns from global git ignore. I'm sorry if this is not the most idiomatic typescript, I was coding in typescript for the first time 😃 However, I'm happy to follow your review recommendations if you have any.


closes #1

@npx
Copy link
Copy Markdown
Owner

npx commented Mar 21, 2020

Hello @matusf!

Thank you for your work!
In order to incorportate your change more easily I updated the project a little bit and added code formatting.

I would appreciate it if you could rebase your changes onto my latest upstream changes.

As for the code, I will add some comments!

@matusf matusf force-pushed the 1-include-global-gitignore branch from e7bdc1b to cb4dc01 Compare April 2, 2020 18:50
@matusf
Copy link
Copy Markdown
Author

matusf commented Apr 2, 2020

@npx rebased!

@npx
Copy link
Copy Markdown
Owner

npx commented Apr 2, 2020

@matusf can you see the comments I made a while ago?

@matusf
Copy link
Copy Markdown
Author

matusf commented Apr 2, 2020

No, I don't see any of them.

@matusf
Copy link
Copy Markdown
Author

matusf commented Jan 6, 2021

ping @npx

Copy link
Copy Markdown
Owner

@npx npx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this make it visible? Can you see the review now? @matusf

Comment thread src/gitignore-hider.ts Outdated
Comment thread src/gitignore-hider.ts Outdated
Comment thread src/gitignore-reader.ts Outdated
Comment thread src/gitignore-hider.ts
@matusf
Copy link
Copy Markdown
Author

matusf commented Jan 12, 2021

Yes, I see it now, thanks. I'll make the changes shortly.

@matusf matusf force-pushed the 1-include-global-gitignore branch from cb4dc01 to 6acd1da Compare January 13, 2021 12:49
@matusf matusf requested a review from npx January 13, 2021 12:49
- add function for expanding paths starting with `~`
- add method for getting path to global gitignore from git config
@matusf matusf force-pushed the 1-include-global-gitignore branch from 6acd1da to 3711b35 Compare January 13, 2021 14:24
@matusf
Copy link
Copy Markdown
Author

matusf commented Feb 11, 2021

Hi @npx, I've made the changes. Could you please check if it's all ok?

@LuisPeregrina
Copy link
Copy Markdown

@npx good enhancement. I would vote to include this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global .gitignore could be included as well.

3 participants