[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080915083407.3fd8e9b7.randy.dunlap@oracle.com>
Date: Mon, 15 Sep 2008 08:34:07 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Uwe.Kleine-Koenig@...i.com, daniel@...ielguilak.com,
den@...nvz.org, efault@....de, etienne_lorrain@...oo.fr,
sam@...nborg.org, tglx@...utronix.de, willy@...ux.intel.com
Subject: Re: [RFC PATCH] Script for generating Documentation/dontdiff from
.gitignore files.
On Sun, 14 Sep 2008 21:23:57 +0300 Eduard - Gabriel Munteanu wrote:
> .gitignore files get more testing than Documentation/dontdiff, since most
> developers follow Git workflow when sending patches. The latter tends to
> stay outdated and needs to be synchronized every now and then. This patch
> provides a script that scans all .gitignore files and generates a
> Documentation/dontdiff to stdout.
>
> Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Hi,
You probably missed (& should read) this thread:
http://lkml.org/lkml/2008/9/12/154
> ---
> scripts/gen_dontdiff.sh | 21 +++++++++++++++++++++
> 1 files changed, 21 insertions(+), 0 deletions(-)
> create mode 100755 scripts/gen_dontdiff.sh
>
> diff --git a/scripts/gen_dontdiff.sh b/scripts/gen_dontdiff.sh
> new file mode 100755
> index 0000000..cd94747
> --- /dev/null
> +++ b/scripts/gen_dontdiff.sh
> @@ -0,0 +1,21 @@
> +#!/bin/bash
> +
> +# Copyright (C) 2008 Eduard - Gabriel Munteanu
> +#
> +# This file is released under GPL version 2.
> +
> +echo "### Generated by gen_dontdiff.sh ###"
> +
> +grep -Ev "^([[:space:]]*[[#]]*|$)" .gitignore
> +
> +find . -mindepth 2 -name .gitignore | sed -e "s/^\.\///g" | while read FILE
> +do
> + CURR_DIR=`echo "$FILE" | sed -e "s/\.gitignore$//g"`
> + echo "# $FILE"
> + grep -Ev "^([[:space:]]*[[#]]*|$)" $FILE | while read LINE
> + do
> + echo $CURR_DIR$LINE
> + done
> + echo ""
> +done
> +
> --
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists