Question

The Diff message in VS2012 Pending changes window is as below

diff --git a/Common/JsonHelper.cs b/Common/JsonHelper.cs
index fbbf9de..451cd37 100644
--- a/Common/JsonHelper.cs
+++ b/Common/JsonHelper.cs

What does the a/ b/ mean? How could i fix this problem? Thanks!

Was it helpful?

Solution

a/ refers to old file

b/ refers to new file

git's unified diff produces these prefixes.

About the changes: may be different EOL. Take care of autocrlf config.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top