Skip to content
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

Different Results on Windows and Linux #404

Open
scottc-WellSky opened this issue Aug 14, 2023 · 5 comments
Open

Different Results on Windows and Linux #404

scottc-WellSky opened this issue Aug 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@scottc-WellSky
Copy link

scottc-WellSky commented Aug 14, 2023

I'm getting significantly different results on the same repo using the same scc 3.1.0 release on Windows 10 Enterprise vs Debian. Using scc with no options:

Linux / Debian
───────────────────────────────────────────────────────────────────────────────
Total 1355 528206 33321 75815 419070 16525
───────────────────────────────────────────────────────────────────────────────

Windows 10 Ent
───────────────────────────────────────────────────────────────────────────────
Total 1592 1162312 39713 91856 1030743 21925
───────────────────────────────────────────────────────────────────────────────

When using the --no-gitignore I do get the same results on both systems so I'm pretty sure this is related to the known issues with gitignore. I did not realize this issue affected the different OSs differently though.

Can anyone confirm this is because of the gitignore issue?

I'm excluding a lot of directories that should be excluded by gitignore which minimizes the issue. Any other hints to minimize the differences?

@boyter
Copy link
Owner

boyter commented Aug 15, 2023

Now thats an interesting situation.

Could you possibly try the following for me, https://github.com/boyter/cs run that with something you know exists in both and see if you get the expected results?

That's using the new file walking I want to use which should be accurate.

@boyter boyter added the bug Something isn't working label Aug 15, 2023
@scottc-WellSky
Copy link
Author

I'll be happy to @boyter, but I'm traveling so it will take me a couple of days.

@boyter
Copy link
Owner

boyter commented Aug 16, 2023

No problem. I am prepared to wait while I try to replicate myself.

@scottc-WellSky
Copy link
Author

@boyter, I am seeing differences with cs between Windows and Debian as well. The first screenshot is without any flags. In the second image I used the no-gitignore flag.
image

image

@boyter
Copy link
Owner

boyter commented Aug 18, 2023

OK that's odd. I will see what I can do to track this down.

@boyter boyter added this to ToDo in Release 3.2.0 Nov 27, 2023
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
No open projects
Development

No branches or pull requests

2 participants