1
2
Fork
You've already forked userscripts
1

Detect paths in .gitignore #3

Open
opened 2026年01月09日 16:52:46 +01:00 by jacksonchen666 · 2 comments

Proof of usage:

The list files API on github also lists file contents if you query for a specific file. But that's 1 API request

Proof of usage: - Someone noticed it, and posted about it. I'm not sure which repo that came from - https://github.com/coredevices/PebbleOS/commit/537146d5ec111f32fdb0a0a01a6ee5d97df3abf4 - https://github.com/borgbase/vorta/commit/498b62a97283c62a64fdd38ff3607a6984ee8cdc#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 - https://github.com/mumble-voip/mumble/commit/fa2d5ee800141d49c83081d76bdc3fa5205265ac The list files API on github also lists file contents if you query for a specific file. But that's 1 API request
Author
Owner
Copy link

Extra considerations:

  • Wildcards
  • Directories?
  • Slashes
Extra considerations: - Wildcards - Directories? - Slashes
Author
Owner
Copy link

This is definitely the type of check that could mean absolutely nothing to maybe something. Having it in .gitignore doesn't actually communicate intentions, and intentions here can go both against (hinder ability to add) or work for you (make it slightly harder to accidentally add, and easier to evade). It's probably not worth an extra API request by default then, and probably should be a type of low priority/non-obtrusive notification.

This is definitely the type of check that could mean absolutely nothing to maybe something. Having it in `.gitignore` doesn't actually communicate intentions, and intentions here can go both against (hinder ability to add) or work for you (make it slightly harder to accidentally add, and easier to evade). It's *probably* not worth an extra API request by default then, and probably should be a type of low priority/non-obtrusive notification.
Sign in to join this conversation.
No Branch/Tag specified
main
navigation-api
dialog-box
dev
ai-files-gitignore-check
github-ai-use-0.4.0
github-ai-use-0.1
github-ai-use-0.1.1
github-ai-use-0.1.2
github-ai-use-0.1.3
github-ai-use-0.1.4
github-ai-use-0.1.5
github-ai-use-0.1.6
github-ai-use-0.1.7
github-ai-use-0.1.8
github-ai-use-0.1.9
github-ai-use-0.1.10
github-ai-use-0.2.0
github-ai-use-0.3.0
github-ai-use-0.3.1
github-ai-use-0.3.2
github-ai-use-0.3.3
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jacksonchen666/userscripts#3
Reference in a new issue
jacksonchen666/userscripts
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?