Is there a way to use Git to flag code for future review?
I am currently developing a desktop application in C#.
As I am going through my code, I keep finding other pieces of code that need a second look or can be improved on… but I don’t want to derail from my current mission.
Is there a way in Git or Visual Studio that allows me to highlight a block of code for “future review”?
One Solution collect form web for “Is there a way to use Git to flag code for future review?”
The common way to flag areas of code are with
FIXME, etc. comments, as explained in this question: How do you flag code so that you can come back later and work on it?
It looks like these comments show up in the Task List in Visual Studio.
There are also plugins for CI systems to watch for these flagged comments and make sure they don’t make it to production. For example the Task Scanner plugin for Jenkins.
There is nothing in git itself that would help with this problem. The best you could do is store some metadata in the commit message, then write something to watch for the flagged commits.