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

.git directories on Windows do not inherit the "hidden" attribute #711

Open
TomChapple opened this issue Jan 17, 2023 · 0 comments
Open

Comments

@TomChapple
Copy link

Version used
MMA 1.4.0

Describe the bug
Generated Mule 4 projects on Windows copy the .git directory from the original without marking it as "hidden".

Expected Behavior
If it is expected for the .git directory to be copied, it should share the same attributes as the original. On Windows, this often includes it being hidden as this is the default when using git init or git clone on that platform.

Actual Behavior
The .git directory is copied into the generated Mule 4 application's directory, but it is not marked as "hidden".

Relevant logs
Unfortunately, there are no logs for me to provide; it produces this unexpected output without error.

Reproducible Test Case
This can be done in any project that is version-controlled with Git. I was able to create a single-file project in Mule 3, run git init in its root directory and then run MMA 1.4.0 on it to reproduce the issue.

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

No branches or pull requests

1 participant