]> Dogcows Code - chaz/tar/commitdiff
Support exclusion patterns from various VCS ignore lists.
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 21 Feb 2014 15:57:26 +0000 (17:57 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 22 Feb 2014 06:13:30 +0000 (08:13 +0200)
* 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.


No differences found
This page took 0.027141 seconds and 4 git commands to generate.