I have a file Staged, the text editor track changes margin is not appearing:

But if I unstage it, these track changes marks will appear on the margin:

Is there any way I can change it to always show the changes on the margin, even if the file is staged?
There does not appear to be a way to do this. I have a feeling its due more to how
git addand/orgit diffworks than it is a Visual Studio problem. Visual Studio Code exhibits the same behavior as well.I think it is because when you stage an item, it is no longer within your working directory, but rather now in the staging area (or index). I came across this answer which lead me to the book Pro Git. In this book, for
git diff(see the Git Basics chapter), it states the following:This goes back to when I said it might be due to have
git addandgit diffworks. Visual Studio is essentially doing agit diffto determine the modified lines in your file. And since the lines of code in question are now staged (git add'ed),git diffcan no longer display the changes.