I suggest you ...

TFS client should allow for Include/Check-in parts of file, instead of the whole edited file or nothing.

Note: This is using TFS for Source Control, not Git.

I did a rollback of a changeset that removed files, because I realized we still need those files. I forgot to include the csproj in the checkin, and have added additional files since then.

If I could Include specific lines in the csproj to pending changes, then I don't have to delete those lines in the csproj to properly checkin the fix for the changeset above, while not polluting the checkin with irrelevant changes.

All git committing clients support this, by using `git add -i` or Git Extensions allows for GUI interactivity for "Include Selected Lines" and allowing for a partial file checkin.

Please add this to your TFS client

3 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Eric Newton shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Eric Newton commented  ·   ·  Flag as inappropriate

    Note that I occasionally have to edit the CSPROJ file to REMOVE LINES not relevant to the current checkin because I started working on a new feature and having missed the CSPROJ file occasionally. This creates broken build changesets which is a deeper problem inherent in TFS.

    Believe me, trying to move away from TFS, just like Microsoft is.

Feedback and Knowledge Base