[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting default file types
From: |
Mark E. Hamilton |
Subject: |
Re: setting default file types |
Date: |
Wed, 12 Oct 2005 10:50:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
address@hidden wrote:
Hi,
We have a certain file extension that is binary (*.class), but the
developers keep forgetting and check it in without specifying that.
This results in a lot of heartache. I have been asked if it is
possible to change the default file type for this extension (*.class)
to be binary.
At last, an easy question.
Check out the ${CVSROOT}/CVSROOT/cvswrappers file. Read the comments at
the head of the file, and then add a line like this:
*.class -k 'b'
Commit it, and all *.class files will henceforth be marked as binary.
Note that I don't know if the cvswrappers file is checked when the
binary files are added or when they are committed, so if you've got some
added files in a working directory you might have to remove and re-add
them before committing them.
--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666