Auto-format check-in policy? RRS feed

  • Question

  • Hello, I'm working on an embedded software team that has been using git to manage our source code.  Soon, we plan on switching to TFS.  Currently, we use a command-line program that automatically formats our source code - it enforces proper indentation, spacing, etc.  I'm not sure that I fully understand TFS check-in policies... would we be able to create a check-in policy that automatically executes this command-line program on source code as it is committed?

    Thank you so much,

    Erik A. Snider

    Friday, July 23, 2010 2:19 PM