-
-
Notifications
You must be signed in to change notification settings - Fork 258
gitignore: fixes for nix output links #1233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| # These are backup files generated by rustfmt | ||
| **/*.rs.bk | ||
|
|
||
| # required by nix | ||
| .direnv/ | ||
| result/ | ||
| # Nix build output | ||
| /result | ||
| /result-lib | ||
| /result-dev | ||
| /result-man | ||
|
|
||
| target/ | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one I rather keep because I use rio in a private fork that I have been working and target is independent there for multi levels
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why would that be the case? The repository is a workspace, and thus, Having a directory/module named Or, I'm a big fan of adding |
||
| /target/ | ||
| .DS_Store | ||
| rls/ | ||
| .vs | ||
|
|
@@ -17,11 +19,10 @@ release | |
| NOTES | ||
| *.log | ||
|
|
||
| # for nix users | ||
| .direnv/ | ||
|
|
||
| # compiled terminfo files | ||
| misc/72/ | ||
| /misc/72/ | ||
|
|
||
| # goreleaser | ||
| dist/ | ||
| /dist/ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, so basically to exclude matches anywhere in the repo? (asking to understand the reason)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
/prefix excludes matches only at the root of the repo. There is no trailing/because it's always a symlink, so a directory namedresultis fine.You could use
resultas a bare name, but I don't like to make.gitignorepatterns unnecessarily strict.