w3c / automotive-viss2

MIT License
9 stars 15 forks source link

.gitignore excludes server/vissv2server/ path from git rep #107

Closed slawr closed 7 months ago

slawr commented 8 months ago

Summary

Trying to add source from server/vissv2server/ causes git to fail due to the .gitignore.

Example:

automotive-viss2$ git add server/vissv2server/vissv2server.go 
The following paths are ignored by one of your .gitignore files:
server/vissv2server
Use -f if you really want to add them.

Detail

At first quick look at the .gitignore I can't determine which pattern is causing the path to be ignored. The path could be added to the list of paths to not be included in pattern matching but it would seem to be more correct to fix the pattern itself?

Workaround

Obvious one of using -f in git add to override ignore.

slawr commented 8 months ago

If someone can identify the gitignore pattern that is the catalyst I'll send a PR

UlfBj commented 7 months ago

PR#109 hopefully fixes it. We can keep this open until it is verified.

UlfBj commented 7 months ago

As I have not heard any new complaints of the sort I conclude the fix is working. Thus closing this.