Hallo Helga, *,

On Sat, Feb 11, 2006 at 06:17:16PM +0100, Helga Fischer wrote:
> Am Samstag  11 Februar 2006 02:13 schrieb Michael Kirchner:
> > Christian Lohmaier wrote:
> > > Sollte eigentlich wurscht sein da CVS das doch für nicht-binär
> > > Dateien doch sowieso dem lokalen System anpaßt, oder?
> >
> > Hm. Ich würde sagen, nein. Oder zumindest nicht 100% sicher.
> 
> Welcher Mechanismus sollte die Zeilenenden beim Upload ändern?

Na, das macht halt CVS. Welche Funktion in CVS das ist kann ich nicht
sagen, dürfte aber auch schnurz-piep-egal sein.

http://www.xpro.com.au/Presentations/UsingCVS/Document%20Version%20Control%20with%20CVS.htm
[...]
>From the files to be version-controlled, identify the binary files.

CVS performs line-end conversion and CVS keyword substitution on text
files. In all repositories, text files are stored with Unix line-endings
(a single linefeed character (ASCII 10)). These are then translated as
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
appropriate for the workspace file system. This makes repositories
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
easily portable across different file systems. CVS also has a series of
keywords, enclosed by $ characters. When files containing these keywords
are updated or committed, by default the workspace copy keyword strings
are modified to reflect the latest repository information. I am using
the Header keyword as the footer for this document, which is a grab bag
of most of the information available. These line-ending and keyword
translations are not made for binary files. This is why it is important
to correctly identify them, otherwise occurrences of line-ending or
keyword byte patterns will undergo translation.
[...]
 
> Aufgefallen ist mir noch, dass so manche Datei einen Zeilenumbruch 
> enthält, der eigentlich unnötig ist. Das entsteht, wenn man seinem 
> Editor sagt, breche bei 70 Zeilen um - wie bei Mails richtig, im 
> HTML zwar nicht störend, aber doch irritierend.

VETO!

Alles in eine Zeile zu packen ist Mist, weil dann die diffs unleserlich
werden.

> Das empfiehlt sich, einen Editor einzusetzen, der einfach am 
> Fensterrand wieder links weiter macht, ohne einen Zeilenumbruch zu 
> setzen. Normalerweise kann man das einstellen.

Nein, bitte nicht.

> [...]
> Bei Perl & Co ist es noch wichtiger, dass unerwünschte Zeilenumbrüche 
> draußen bleiben. Da macht dann die Fehlersuche richtig Spaß.

Betonung auf *unerwünschte* Zeilenumbrüche.

Ich denke ein genereller Umbruch nach 70-80 Zeichen ist erwünscht. Alles
andere bläht die diffs auf, macht es schwieriger in dem Dokument zu
navigieren.

ciao
Christian
-- 
NP: Raging Speedhorn - Knives And Faces

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an