Hi Sylvain,
Sylvain Beucler wrote:
> - 'm4/gnulib-comp.m4' is not mentioned in '.gitignore', so it keeps
> showing up in 'git status', but it's documented as a built file, not
> to be included in the project repository. It could be added in the
> '.gitignore' file.
Yes, you are right. Implemented as follows. Thank you for the suggestion.
2008-06-29 Bruno Haible <[EMAIL PROTECTED]>
* gnulib-tool (func_import): Put gnulib-comp.m4 into .cvsignore or
.gitignore.
Reported by Sylvain Beucler <[EMAIL PROTECTED]>.
*** gnulib-tool.orig 2008-06-30 01:42:44.000000000 +0200
--- gnulib-tool 2008-06-30 01:41:22.000000000 +0200
***************
*** 3248,3253 ****
--- 3248,3255 ----
# Update the .cvsignore and .gitignore files.
{ echo "$added_files" | sed -e '/^$/d' -e 's,\([^/]*\)$,|A|\1,'
echo "$removed_files" | sed -e '/^$/d' -e 's,\([^/]*\)$,|R|\1,'
+ # Treat gnulib-comp.m4 like an added file, even if it already existed.
+ echo "$m4base/|A|gnulib-comp.m4"
} | LC_ALL=C sort -t'|' -k1,1 > "$tmp"/fileset-changes
{ # Rearrange file descriptors. Needed because "while ... done < ..."
# constructs are executed in a subshell e.g. by Solaris 10 /bin/sh.