[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvsignore
From: |
Frederic Brehm |
Subject: |
Re: cvsignore |
Date: |
Mon, 20 Nov 2006 11:52:13 -0500 |
User-agent: |
Thunderbird 1.5.0.8 (Windows/20061025) |
Roddie Grant wrote:
1. cvsignore only works on files, not directories, so for example I can't
use "/logs/" or even "/logs/*.*, but have to use "*.log" in
/logs/.cvsignore. Is that correct?
You can put the "*.log" entry in the logs/.cvsignore file, but you can also put
"logs" in the .cvsignore file of the directory containing the logs directory. Directories
*can* be ignored. However, you cannot use .cvsignore to ignore files in subdirectories. You have to
put the .cvsignore file in the subdirectory.
2. Given that I end up with .cvsignore files here and there should they be
added to the repository?
Yes. That way your whole team can get the benefit of the work you did figuring
out the files that are not to be version controlled.
Thanks
Roddie Grant
You're welcome,
Fred
--
Frederic W. Brehm
Senior Member of the Technical Staff
Sarnoff Corporation
Princeton, NJ