Discussion:
gnulib-tool: Permit `--vc-files`, `--no-vc-files` with `--update`
(too old to reply)
Abdelhakim Akodadi
2017-01-06 18:49:35 UTC
Permalink
Raw Message
One might want to `--update` without altering .gitegnore files
---
gnulib-tool | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnulib-tool b/gnulib-tool
index 5b6620e..5c5598a 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -278,9 +278,6 @@ Options for --import, --add/remove-import:
the package name. A suffix '-gnulib' is appended.
--witness-c-macro=NAME Specify the C macro that is defined when the
sources in this directory are compiled or used.
- --vc-files Update version control related files.
- --no-vc-files Don't update version control related files
- (.gitignore and/or .cvsignore).

Options for --create-[mega]testdir, --[mega]test:

@@ -298,6 +295,9 @@ Options for --import, --add/remove-import, --update:

-S, --more-symlinks Make symbolic links instead of copying files, and
don't replace copyright notices.
+ --vc-files Update version control related files.
+ --no-vc-files Don't update version control related files
+ (.gitignore and/or .cvsignore).

Report bugs to <bug-***@gnu.org>."
}
@@ -1420,7 +1420,7 @@ func_determine_path_separator
|| test -n "$excl_privileged_tests" || test -n
"$excl_unportable_tests" \
|| test -n "$avoidlist" || test -n "$lgpl" || test -n "$makefile_name" \
|| test -n "$macro_prefix" || test -n "$po_domain" \
- || test -n "$witness_c_macro" || test -n "$vc_files"; then
+ || test -n "$witness_c_macro"; then
echo "gnulib-tool: invalid options for 'update' mode" 1>&2
echo "Try 'gnulib-tool --help' for more information." 1>&2
echo "If you really want to modify the gnulib configuration of
your project," 1>&2
--
2.7.4
--
AKODADI Abdelhakim.
Loading...