1
Vote

Git warning for non-member items

description

I have some non-member items in my project and Show All Files is off. Git keeps reporting the error below.
Failed to push new glyph for <full path to file>. Return code from SccGlyphChanged was -2147024809.
Repro steps:
  1. Create a new web project (or any project with build outputs)
  2. Build
  3. Add the entire project to git. Due to #2649 this will include the build outputs. If that has been fixed, include them manually.
  4. Exclude the build directory from the project. The files are still added in source control.
  5. Disable Show All Files
  6. Clean

comments

Zooba wrote Sep 2 at 9:50 PM

I suspect that we aren't notifying SCC about the removal when we disable Show All Files, and then also not notifying it when the files are deleted (because they weren't visible to begin with). As a result, it keeps querying for those files and we report an ArgumentException.