* [Buildroot] [PATCH] Add a .gitignore file
@ 2009-05-04 0:49 angus salkeld
2009-05-04 8:00 ` Gaye Abdoulaye Walsimou
2009-05-04 9:04 ` Michael Roth
0 siblings, 2 replies; 5+ messages in thread
From: angus salkeld @ 2009-05-04 0:49 UTC (permalink / raw)
To: buildroot
---
.gitignore | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..191e148
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,16 @@
+build_*
+project_*
+toolchain_*
+binaries/*
+.auto.deps
+.config.cmd
+.config.old
+package/config/buildroot-config/
+package/config/.depend
+package/config/conf
+package/config/mconf
+package/config/*.o
+package/config/lex.zconf.c
+package/config/lxdialog/*.o
+package/config/zconf.hash.c
+package/config/zconf.tab.c
--
1.5.6
NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Add a .gitignore file
2009-05-04 0:49 [Buildroot] [PATCH] Add a .gitignore file angus salkeld
@ 2009-05-04 8:00 ` Gaye Abdoulaye Walsimou
2009-05-04 9:04 ` Michael Roth
1 sibling, 0 replies; 5+ messages in thread
From: Gaye Abdoulaye Walsimou @ 2009-05-04 8:00 UTC (permalink / raw)
To: buildroot
angus salkeld wrote:
> ---
> .gitignore | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
> create mode 100644 .gitignore
>
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..191e148
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,16 @@
> +build_*
> +project_*
> +toolchain_*
> +binaries/*
> +.auto.deps
> +.config.cmd
> +.config.old
> +package/config/buildroot-config/
> +package/config/.depend
> +package/config/conf
> +package/config/mconf
> +package/config/*.o
> +package/config/lex.zconf.c
> +package/config/lxdialog/*.o
> +package/config/zconf.hash.c
> +package/config/zconf.tab.c
>
Hello Angus,
I think it is better to add .gitignore file in each subdirectory. So if
a subdirectory comes to be changed, you don't have to modify the
.gitignore file in the root directory, and this avoids having a long
list of ignored files in .gitignore.
Other wise, yes, .gitignore files is a good idea.
Cheers,
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Add a .gitignore file
2009-05-04 0:49 [Buildroot] [PATCH] Add a .gitignore file angus salkeld
2009-05-04 8:00 ` Gaye Abdoulaye Walsimou
@ 2009-05-04 9:04 ` Michael Roth
2009-05-04 19:38 ` angus salkeld
1 sibling, 1 reply; 5+ messages in thread
From: Michael Roth @ 2009-05-04 9:04 UTC (permalink / raw)
To: buildroot
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..191e148
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,16 @@
> +build_*
> +project_*
> +toolchain_*
> +binaries/*
> +.auto.deps
> +.config.cmd
> +.config.old
Add leading slashes to match only in top level dir:
/build_*
/project_*
/toolchain_*
/binaries
/.auto.deps
/.config.cmd
/.config.old
> +package/config/.depend
> +package/config/*.o
> +package/config/lxdialog/*.o
Maybe two global patterns:
*.o
*.depend
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Add a .gitignore file
2009-05-04 9:04 ` Michael Roth
@ 2009-05-04 19:38 ` angus salkeld
2009-05-04 19:47 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: angus salkeld @ 2009-05-04 19:38 UTC (permalink / raw)
To: buildroot
Hi
Thanks for the feedback.
Here is a patch with the suggested changes.
Regards
-Angus Salkeld
---
.gitignore | 9 +++++++++
package/config/.gitignore | 6 ++++++
2 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
create mode 100644 package/config/.gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f901994
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+/build_*
+/project_*
+/toolchain_*
+/binaries/*
+/.auto.deps
+/.config.cmd
+/.config.old
+*.depend
+*.o
diff --git a/package/config/.gitignore b/package/config/.gitignore
new file mode 100644
index 0000000..9067e68
--- /dev/null
+++ b/package/config/.gitignore
@@ -0,0 +1,6 @@
+/buildroot-config
+/conf
+/mconf
+/lex.zconf.c
+/zconf.hash.c
+/zconf.tab.c
--
1.5.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Add a .gitignore file
2009-05-04 19:38 ` angus salkeld
@ 2009-05-04 19:47 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-04 19:47 UTC (permalink / raw)
To: buildroot
>>>>> "angus" == angus salkeld <angus.salkeld@alliedtelesis.co.nz> writes:
angus> Hi
angus> Thanks for the feedback.
angus> Here is a patch with the suggested changes.
Thanks, committed.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-04 19:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 0:49 [Buildroot] [PATCH] Add a .gitignore file angus salkeld
2009-05-04 8:00 ` Gaye Abdoulaye Walsimou
2009-05-04 9:04 ` Michael Roth
2009-05-04 19:38 ` angus salkeld
2009-05-04 19:47 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox