-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Issue with .gitkeep Files and Branch Switching #3160
Comments
I can confirm that I’m running the same issue when pushing a branch to GitLab via plugin’s UI. No matter what the changes are, In my case the problem occurs when I run some pipeline jobs, where it breaks the build. As of now, the only workaround is to manually delete the Ideally, I’d like to get rid of that file entirely. Thanks |
Hi folks. I don't think the fix for this is correct. Right now, on a well-established repo with tokens already synchronised, creating a branch and making a change results in the branch being pushed with three identical commit messages:
This completely messes up our changelog generation. My understanding of this issue is that something was happening which shouldn't have. Instead of fixing that root cause, #3199 causes another thing to happen which has additional side effects. |
Hi @Sidnioulz , thanks for bringing this to our notice, we are investigating this |
Describe the bug
User has a problem where when the try to push on gitlab the screenshot provided below shows up and they cannot see what is the problem but can just close it.
When switching branches, the presence of
.gitkeep
files, which are used to preserve empty directories in Git, seems to be related to a post 2.0 bug fix for GitLab. This mechanism may not be necessary and could be removed after thorough testing to ensure the bug is not reintroduced.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Empty directories should be preserved without the need for .gitkeep files, especially if other files are added later.
Screenshots or Screencasts
![Screenshot 2024-09-18 at 14 35 00](https://private-user-images.githubusercontent.com/93133012/372166978-11082766-9fed-4d98-9fc1-1ce96e347703.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzOTk0NjMsIm5iZiI6MTczOTM5OTE2MywicGF0aCI6Ii85MzEzMzAxMi8zNzIxNjY5NzgtMTEwODI3NjYtOWZlZC00ZDk4LTlmYzEtMWNlOTZlMzQ3NzAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIyMjYwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlOTBkOGJkMWM0OWVjMDg2ZTEwNjQ5NmY5YTU3OWFkNTFmMTRjNjhhNTQ4NmE2ZTQ2NWIyNTI0NzNlZjY3YjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NEVJVdYcznnOkyP8wFGNEKF14BS8g1c-Mk121u7eLAY)
The text was updated successfully, but these errors were encountered: