diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-21 17:57:26 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-22 08:13:30 +0200 |
commit | 93906c238d9309f95afeddfa9ac8d7ce92351e70 (patch) | |
tree | 5fe53b70287797abf5cdc1a91daf568c5c1dcb02 /NEWS | |
parent | 9df17e6005e7a333399e3dc21a7afec75565c767 (diff) | |
download | tar-93906c238d9309f95afeddfa9ac8d7ce92351e70.tar.gz |
Support exclusion patterns from various VCS ignore lists.
* src/Makefile.am (tar_SOURCES): Add exclist.c
* src/common.h (EXCL_DEFAULT, EXCL_RECURSIVE)
(EXCL_NON_RECURSIVE): New flags.
(excfile_add, info_attach_exclist)
(info_cleanup_exclist,info_free_exclist)
(exclude_vcs_ignores): New prototypes.
* src/create.c (dump_dir0): Call info_attach_exclist.
* src/exclist.c: New file.
* src/incremen.c (scan_directory): Call info_attach_exclist.
* src/names.c (excluded_name): Moved to exclist.c. Change signature.
All uses updated.
* src/tar.c: New options: --exclude-ignore, --exclude-ignore-recursive
and --exclude-vcs-ignores.
(tar_stat_destroy): Free exclist.
* src/tar.h (tar_stat_info): New member exclude_list.
* NEWS: Document new exclusion options.
* doc/tar.texi: Likewise.
* doc/tar.1: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,4 +1,4 @@ -GNU tar NEWS - User visible changes. 2014-02-14 +GNU tar NEWS - User visible changes. 2014-02-21 Please send GNU tar bug reports to <bug-tar@gnu.org> @@ -48,6 +48,20 @@ is uniform and reproducible. Using --sort=inode reduces the number of disk seeks made when creating the archive and thus can considerably speed up archivation. +* New exclusion options + + --exclude-ignore=FILE Before dumping a directory check if it + contains FILE, and if so read exclude + patterns for this directory from FILE. + --exclude-ignore-recursive=FILE + Same as above, but the exclusion patterns + read from FILE remain in effect for any + subdirectory, recursively. + --exclude-vcs-ignores Read exclude tags from VCS ignore files, + where such files exist. Supported VCS's + are: CVS, Git, Bazaar, Mercurial. + + * Manpages This release includes official tar(1) and rmt(8) manpages. |