[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Enhancement requests
From: |
Riley Williams |
Subject: |
[PATCH] Enhancement requests |
Date: |
Thu, 25 Oct 2001 18:51:17 +0100 (BST) |
Hi again.
> There are two enhancements I would like to see, both connected with
> the stuff it ignores on import and update:
> 1. cvs already ignores *.Z archives, so can it also be set to
> ignore *.bz2 and *.gz archives as well.
>
> 2. Can CVS be 'trained' to differentiate between directories and
> files for the various ignore entries? One obvious way to me
> would be to say that if the entry in the list of files to ignore
> ends with a / then that refers to a directory to be ignored, and
> any entry not ending with this character refers to a file. This
> would mean that to ignore something as both, it would need to be
> entered twice, once in each format.
>
> I will add that on looking at ignore.c I get the impression that
> something along these lines has already been a\dded, but just
> doesn't work.
>
> Comments anybody?
The enclosed patch both implements and documents (1) and additionally
adds several other archive formats that I am aware of. In addition, it
starts the procedure for implementing (2) as it puts the default entries
to ignore into two lists, one of directories to ignore and another of
files to ignore, although the current code justs inserts both of the
lists of defaults into the same list of entries to be ignored.
This patch is against the current CVS tree as of right now, so should
apply cleanly. It includes a CHANGELOG entry describing what it does.
Again, comments anybody?
Best wishes from Riley.
ccvs.diff
Description: Patch