Export (0) Print
Expand All

Diff (File) (Command Line)

Visual Studio 2005

Shows the differences between the local copy of a file and the master copy in the database. This command also shows the differences between two versions of the same file. For definitions of the command options, see Command Options in this Help system.

NoteNote

For binary files, Visual SourceSafe can tell you if two files are different, but not how they are different. The binary record stored for a file cannot be displayed. Only ASCII text files can be compared line-by-line.

ss Diff <files> [-B][-D][-H][-I][-I-][-N][-O][-V][-Y][-?]

You must have the Read project right to use this command.

For large text files, a difference report might cease its line-by-line reporting and skip to reporting every subsequent line. If this happens, you might want to rerun the command using -DS for the -D option. See -D Option (Command Line).

Compares the Visual SourceSafe file Help.c to the local file Help.c:

ss Diff HELP.C

Compares the version 2 Visual SourceSafe file Help.c to the local copy of Help.c:

ss Diff HELP.C -V2

Compares versions 2 and 4 of the Visual SourceSafe file Help.c:

ss Diff HELP.C -V4~2

Compares file Help.c in the Visual SourceSafe database against the file Bar.c on your local computer:

SS Diff $/HELP.C C:\BAR.C

Community Additions

ADD
Show:
© 2014 Microsoft