3

Is there any public released c# API to get code diff of a given commit?

I did some search and found there is a rest api (fileDiff) can help with it, but seems it is not open to public developers. Lines of Code modified in each Commit in TFS rest api. How do i get?

Any other alternative way to do it or any plan to release this C# API?

Yu Dai
  • 133
  • 4

1 Answers1

0

Unfortunately, there is no official released REST API to get code diff of a given commit yet. You could submit a User Voice.

Currently, you would use that unofficial API in the link, or try git-diff command to show changes between commits, commit and working tree, etc.

Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39