This documentation is archived and is not being maintained.

Shadow_EOL Initialization Variable

Visual Studio 2005

Sets the end-of-line character that is used in the shadow folder. This initialization variable is used only in the Srcsafe.ini file.

Shadow_EOL = {n|r|rn}

When Visual SourceSafe copies a file into the shadow folder, it uses the end-of-line character particular to its own operating system, as specified in the EOL initialization variable. Therefore, in a multi-platform environment, the files in the shadow folder contain a mixture of end-of-line characters, depending on which operating system each file was updated from most recently. The Shadow_EOL variable overrides this standard mechanism, forcing the shadow folder to use the specified end-of-line character. Definitions of the possible characters can be found in the topic EOL Initialization Variable.

You can set the Shadow_EOL variable in the Srcsafe.ini file directly or in Visual SourceSafe Administrator. In Visual SourceSafe Administrator, use the SourceSafe Options dialog box, Shadow Folders tab. Make your setting in the End-of-line characters for files box.

Ends all lines in the shadow folder with a Windows-style end-of-line character:

Shadow_EOL = rn