bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Included/excluded files


From: Bruno Haible
Subject: Re: Included/excluded files
Date: Mon, 30 Jun 2008 01:45:13 +0200
User-agent: KMail/1.5.4

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  <address@hidden>

        * gnulib-tool (func_import): Put gnulib-comp.m4 into .cvsignore or
        .gitignore.
        Reported by Sylvain Beucler <address@hidden>.

*** 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]