* [PATCH] i2c-tools: add .gitignore
@ 2016-08-03 8:55 Wolfram Sang
2016-08-03 10:02 ` Jean Delvare
2016-08-03 15:22 ` Uwe Kleine-König
0 siblings, 2 replies; 5+ messages in thread
From: Wolfram Sang @ 2016-08-03 8:55 UTC (permalink / raw)
To: linux-i2c; +Cc: Jean Delvare, Wolfram Sang
Don't display generated files, so 'git status' becomes useful again.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
.gitignore | 8 ++++++++
tools/.gitignore | 4 ++++
2 files changed, 12 insertions(+)
create mode 100644 .gitignore
create mode 100644 tools/.gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0d86cb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+.*
+*.o
+*.o.*
+*.a
+*.so
+*.so.*
+*.so.dbg
+*.ao
diff --git a/tools/.gitignore b/tools/.gitignore
new file mode 100644
index 0000000..18c268a
--- /dev/null
+++ b/tools/.gitignore
@@ -0,0 +1,4 @@
+i2cdump
+i2cset
+i2cget
+i2cdetect
--
2.8.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] i2c-tools: add .gitignore
2016-08-03 8:55 [PATCH] i2c-tools: add .gitignore Wolfram Sang
@ 2016-08-03 10:02 ` Jean Delvare
2016-08-09 20:47 ` Wolfram Sang
2016-08-03 15:22 ` Uwe Kleine-König
1 sibling, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2016-08-03 10:02 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-i2c
Hi Wolfram,
On Wed, 3 Aug 2016 10:55:47 +0200, Wolfram Sang wrote:
> Don't display generated files, so 'git status' becomes useful again.
Good idea. One suggestion below.
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
> .gitignore | 8 ++++++++
> tools/.gitignore | 4 ++++
> 2 files changed, 12 insertions(+)
> create mode 100644 .gitignore
> create mode 100644 tools/.gitignore
>
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..0d86cb6
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,8 @@
> +.*
> +*.o
> +*.o.*
> +*.a
> +*.so
> +*.so.*
> +*.so.dbg
> +*.ao
> diff --git a/tools/.gitignore b/tools/.gitignore
> new file mode 100644
> index 0000000..18c268a
> --- /dev/null
> +++ b/tools/.gitignore
> @@ -0,0 +1,4 @@
> +i2cdump
> +i2cset
> +i2cget
> +i2cdetect
You could also add eeprog to eeprog/.gitignore and eeprom and eepromer
to eepromer/.gitignore.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Also a similar patch would be welcome for the 3.1 branch.
You should have write access to the repository, so I let you commit the
patches yourself?
Thanks,
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] i2c-tools: add .gitignore
2016-08-03 8:55 [PATCH] i2c-tools: add .gitignore Wolfram Sang
2016-08-03 10:02 ` Jean Delvare
@ 2016-08-03 15:22 ` Uwe Kleine-König
2016-08-09 20:42 ` Wolfram Sang
1 sibling, 1 reply; 5+ messages in thread
From: Uwe Kleine-König @ 2016-08-03 15:22 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-i2c, Jean Delvare
On Wed, Aug 03, 2016 at 10:55:47AM +0200, Wolfram Sang wrote:
> Don't display generated files, so 'git status' becomes useful again.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
> .gitignore | 8 ++++++++
> tools/.gitignore | 4 ++++
> 2 files changed, 12 insertions(+)
> create mode 100644 .gitignore
> create mode 100644 tools/.gitignore
>
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..0d86cb6
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,8 @@
> +.*
> +*.o
> +*.o.*
> +*.a
> +*.so
> +*.so.*
> +*.so.dbg
> +*.ao
> diff --git a/tools/.gitignore b/tools/.gitignore
> new file mode 100644
> index 0000000..18c268a
> --- /dev/null
> +++ b/tools/.gitignore
> @@ -0,0 +1,4 @@
> +i2cdump
> +i2cset
> +i2cget
> +i2cdetect
better anchor these patterns and write
/i2cdump
...
. Currently it doesn't matter much, but usually that's what you really
want.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-08-09 20:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 8:55 [PATCH] i2c-tools: add .gitignore Wolfram Sang
2016-08-03 10:02 ` Jean Delvare
2016-08-09 20:47 ` Wolfram Sang
2016-08-03 15:22 ` Uwe Kleine-König
2016-08-09 20:42 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).