I've written some code to Check Files Out & In based on a folder in a repository. The problem I have is when I check the code back in and add a comment all the files whether or not they have been modified are being labeled and listed in the Folder history. This does not happen if I use the Windows Vault application as that only labels changed files. Is it possible to work out if a file has been changed in the API?
Code I'm using.
ChangeSetItemColl oSetItemColl = null;
foreach (ChangeSetItem oChangeSetItem in ClientInstance.InternalChangeSet_GetItem(false))
{
oChangeSetItem.Comment = "Checked in ";
oSetItemColl.Add(oChangeSetItem);
}
ClientInstance.Commit(oSetItemColl, false, false);
Everything else works fine

Thanks