Difference Options Dialog Box (Explorer and Plug-in)
Displays the options that specify how two versions of a file will be compared. You can use this dialog box to compare:
A local file to a source-controlled file.
A local file to a local file.
Two versions of a source-controlled file.
Note
To specify a version of a file for comparison, you must add a semicolon and version number to the file name, for example: HELP.C; 5.
Dialog Box Access
In Visual SourceSafe Explorer, select a file and then, on the Tools menu, click Show Differences. Alternatively, you can click Diff in the History of <name> dialog box.
Note
You can specify whether this dialog box is displayed by using the Command Dialogs tab in the SourceSafe Options dialog box.
In Visual Studio, select a file in Solution Explorer. On the File menu, click Source Control, and then click Compare.
- Advanced
Specifies the advanced options Ignore line ending differences, Show context, and Save settings.
- Browse
Allows you to navigate to a file for comparison. You can browse for files in your Visual SourceSafe projects or in Windows folders on your hard disk.
- Compare
Specifies the name of the file you want to compare. Use the Browse button if necessary to find the file.
Format
Specifies the format in which you want to view file differences. Possible options are:Option Description Visual
Specifies that Visual SourceSafe should display differences in the visual format. This format, which is displayed in the difference viewer, uses color coding to identify added, deleted, and changed lines.
SourceSafe
Specifies that Visual SourceSafe should display differences in the old-style SourceSafe format. This format consists of a text display of lines added, deleted, and changed.
Unix
Specifies that Visual SourceSafe should display differences in the UNIX format. This format consists only of the changed lines and uses text arrows to distinguish between additions and deletions.
- Ignore case
Specifies that Visual SourceSafe should ignore differences in case.
- Ignore line ending differences
Advanced option. Specifies that the Visual SourceSafe should ignore file differences that result from development on different operating systems (for example, end-of-line characters).
- Ignore white space
Specifies that Visual SourceSafe should ignore lines that differ only in the space, tab, or other white space characters.
- Lines
Specifies the number of lines of context information to display if Show Context is selected.
- OK
Performs the file comparison.
- Only show this dialog when the Shift key is down
Specifies that this dialog box is not displayed unless you are holding down the SHIFT key when you select the command to show differences.
- Report
Shows a <your report title> dialog box to allow you to send a comparison report to a printer, a file, or the Clipboard.
- Save settings
Advanced option. Saves the settings you have chosen for use in subsequent show difference operations.
- Show context
Advanced option. Shows context information, including the changed line, as well as a specified number of surrounding lines.
- To
Specifies the file you want to compare to the first file. You can also use the Browse button to find the file to compare.
See Also
Reference
<your report title> Dialog Box
History of <name> Dialog Box (Explorer and Plug-in)
SourceSafe Options Dialog Box, Command Dialogs Tab (Explorer)