Created
October 31, 2012 11:01
-
-
Save fgarcia/3986458 to your computer and use it in GitHub Desktop.
issue report #template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // problem | |
| SourceTree does not behave as Git when adding and committing a folder with ignored parts | |
| // given | |
| User has a global Git ignore file with the pattern "xcuserdata" | |
| // when | |
| User add an Xcode project file like MyApp.xcodeproj/ | |
| User commit changes | |
| // expected | |
| Normal commit, with no warnings/errors | |
| // current result | |
| SourceTree prevents the commit because the global ignore file matches one of the contents of the added folder | |
| // rationale | |
| Git does not prevent a commit in this case. A behavior similar to the managed tool provides a better UX. | |
| This user story should be common. Normally a developer does not want to commit his/her breakpoints to the repository | |
| // workaround | |
| It is possible to overwrite a global ignored pattern to allow commits. However this will also commit undesired data to the repository | |
| // solutions | |
| 1. A warning dialog with options to continue OR cancel | |
| 2. Successful commit with no dialog. Optionally a log message with a warning |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use as template. This is an issue I created for SourceTree