[PATCH] replace barebox* in .gitignore with individual files

Michael Olbrich m.olbrich at pengutronix.de
Thu Nov 15 12:28:06 EST 2012


On Wed, Nov 14, 2012 at 09:21:41AM +0100, Sascha Hauer wrote:
> This effectively reverts:
> 
> | commit f9df22b002af99532b66360e08128ea3e7e82a97
> | Author: Alexander Shiyan <shc_work at mail.ru>
> | Date:   Mon Oct 8 10:35:04 2012 +0400
> |
> |    Add more generated files to .gitignore
> 
> barebox* is not limited to the toplevel directory, so this ignores
> all files starting with 'barebox' from which we have several we do
> not wish to ignore. Add barebox-flash-image to the ignore list which
> seemed to be the motivation for the original patch.

You could use:

/barebox*

This will not match any files in sub-directories.

Michael


> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Alexander Shiyan <shc_work at mail.ru>
> ---
>  .gitignore |   13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 81e74a0..064753d 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -26,11 +26,22 @@
>  #
>  tags
>  TAGS
> -barebox*
>  cross_arch
>  cross_compile
> +barebox
> +barebox.S
> +barebox.bin
> +barebox.srec
> +barebox.netx
> +barebox.s5p
> +barebox.spi
> +barebox.ubl
> +barebox.uimage
> +barebox.map
> +barebox-flash-image
>  System.map
>  Module.symvers
> +barebox_default_env*
>  
>  #
>  # Generated include files
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list