Bash 3.1.17(8) CR/LF problem

Igor Peshansky
Thu Sep 28 00:02:00 GMT 2006

On Wed, 27 Sep 2006, Malcolm Nixon wrote:

> Jonathan Arnold wrote:
> > You can change the Perforce filetype to be binary, and that way Perforce
> > will leave the cr/lf alone. Then check out the scripts, do a d2u on them,
> > and check them back in.
> >
> > $ p4 edit -t binary
> I believe this is what I will end up being forced to do.  Many of the
> other fixes could be used if this were just my system, however I have to
> assist over 30 developers scattered around the country, most of whom are
> Cygwin illiterate (other than running a simple build script).
> The mount point idea would work, except that every developer gets their
> local sandbox in different areas of their drives, and most have multiple
> sandboxes active for work on different branches.

Right.  So do the above "binary" fix on just the main build script (since
your Cygwin-illiterate developers are unlikely to touch that), and also
have that script adjust the mount where *it* lives (or some path relative
to it) if the OS is Cygwin and the mount is binary...

> The only truly annoying thing with binary files in Perforce is that it
> makes diffing and merging much harder.

Indeed.  So don't go the full Monty until you've exhausted other options.
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list