Ignore empty folders when calculating the dirty state
Closed this issue · 0 comments
royriojas commented
Steps to reproduce:
On a repo with a clean state
- Create an empty file, add it and commit it.
- Create Emtpy Folder
- Do a git status (verify status report all goo)
- Attempt to push your commit
Current Behavior
The prepush complains about a dirty state, if the user agree to stash, it will fail because there is nothing to stash.
Expected behavior:
Make the push if the prepush validation passes