Make "Add to source control" available for ignored items
When right-clicking a Private Ignored item, the "Add to source control" action is shown but disabled (grayed out). That's frustrating as there is no real reason to disallow this!
Scenario: You have ignored all *.dll files, since you build them. However, there is a specific 3rdparty DLL that you would like to make Controlled (put under source control). To do this, you would now have to edit ignored.conf, "Add the file to source control", then undo your changes in ignored.conf. If the above command was not disabled for ignored items it would have been one click in the context menu, instead of edit-add-undo.
-
Göran Wallgren commented
This was fixed in 7.0.16.2926. Excellent, thank you very much. (Took 3 years to un-disable a menu item, though...)
-
Göran Wallgren commented
Also, I manually edit our ignore.conf to keep it tidy, but the suggested "remove from ignored list" command would remove all my formatting (comments, empty lines etc) that I have added to make the file easier to maintain.
-
Göran Wallgren commented
You seem to miss my point. Suppose I ignore all *.dll files by default, but there's one DLL that I want to actually put under source control. Sure I could exclude that specific file from my ignore file, but why should I have to? It would be simpler to use the Add command that is already there but disabled.
It's a bit rude to tell customers to stop making mistakes, and in this case there was no mistake involved - only an exception to a rule which could be accomplished in one step (Add) instead of two (Remove from ignored + Add) if only you bothered.
You do support adding ignored files to source control and then they will no longer be ignored, right? So why not stop disabling the Add command for ignored files?
Sure this is just a small detail and a corner case, but if you ignore tiny suggestions like this you will never get the polish that you otherwise could. I don't think this change would make other customers less happy and you would surely get less whining from those who care...
-
If you want to keep your ignore.conf clean... then you shouldn't make mistakes adding what you shouldn't :P
We'll see what we can do.
-
Göran Wallgren commented
But that is not at all what I want! I want to keep my general ignore rule and simply add this single file to source control. It's simply disturbing to have the wanted action available but greyed-out...
-
You can also right click and "remove from ignored list", then add to source control, correct?