[libvirt] [dbus PATCH 02/15] gitignore: Fix aclocal.m4 pattern

Andrea Bolognani posted 15 patches 6 years, 10 months ago
[libvirt] [dbus PATCH 02/15] gitignore: Fix aclocal.m4 pattern
Posted by Andrea Bolognani 6 years, 10 months ago
Ignore patterns are shell globs, so '.' doesn't need
escaping.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 28a7c57..b792bac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,7 +21,7 @@ vgcore.*
 /configure
 /libvirt-dbus-*.tar.gz
 /libvirt-dbus.spec
-/m4/aclocal\.m4
+/m4/aclocal.m4
 /run
 /stamp-h1
 
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [dbus PATCH 02/15] gitignore: Fix aclocal.m4 pattern
Posted by Andrea Bolognani 6 years, 10 months ago
On Fri, 2018-06-29 at 18:01 +0200, Andrea Bolognani wrote:
> Ignore patterns are shell globs, so '.' doesn't need
> escaping.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  .gitignore | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 28a7c57..b792bac 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -21,7 +21,7 @@ vgcore.*
>  /configure
>  /libvirt-dbus-*.tar.gz
>  /libvirt-dbus.spec
> -/m4/aclocal\.m4
> +/m4/aclocal.m4
>  /run
>  /stamp-h1

Actually, never mind: aclocal.m4 is generated in the top-level
directory, not in m4/, so the pattern should just be removed
altogether.

Consider the following diff squashed in, and the commit message
updated accordingly.

diff --git a/.gitignore b/.gitignore
index b792bac..e9127e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,7 +21,6 @@ vgcore.*
 /configure
 /libvirt-dbus-*.tar.gz
 /libvirt-dbus.spec
-/m4/aclocal.m4
 /run
 /stamp-h1

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list