Mailing List Archive

[PATCH 1/2] .gitignore: flesh out rules and add subdirectory-.gitignores.
* .gitignore: ignore object files and libtool files. Move
subdir-specific rules to subdir-specific .gitignores.
* doc/.gitignore, lang/cl/.gitignore, src/.gitignore,
tests/.gitignore, tests/gpg/.gitignore, tests/gpgsm/.gitignore,
tests/opassuan/.gitignore: Add subdir-specific ignore rules, so `git
status` can focus on interesting changes.
---
.gitignore | 13 ++++++++-----
doc/.gitignore | 5 +++++
lang/cl/.gitignore | 1 +
src/.gitignore | 7 +++++++
tests/.gitignore | 10 ++++++++++
tests/gpg/.gitignore | 30 ++++++++++++++++++++++++++++++
tests/gpgsm/.gitignore | 17 +++++++++++++++++
tests/opassuan/.gitignore | 3 +++
8 files changed, 81 insertions(+), 5 deletions(-)
create mode 100644 doc/.gitignore
create mode 100644 lang/cl/.gitignore
create mode 100644 src/.gitignore
create mode 100644 tests/.gitignore
create mode 100644 tests/gpg/.gitignore
create mode 100644 tests/gpgsm/.gitignore
create mode 100644 tests/opassuan/.gitignore

diff --git a/.gitignore b/.gitignore
index 983abda..4c37222 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,9 +2,12 @@
/autom4te.cache
/config.h.in
/configure
+/config.h
+/config.log
+/config.status
+/libtool
Makefile.in
-/doc/gpgme.info
-/doc/gpgme.info-1
-/doc/gpgme.info-2
-/doc/stamp-vti
-/doc/version.texi
+Makefile
+stamp-h1
+*.o
+*.lo
diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644
index 0000000..a44d7b4
--- /dev/null
+++ b/doc/.gitignore
@@ -0,0 +1,5 @@
+gpgme.info
+gpgme.info-1
+gpgme.info-2
+stamp-vti
+version.texi
diff --git a/lang/cl/.gitignore b/lang/cl/.gitignore
new file mode 100644
index 0000000..abccf9c
--- /dev/null
+++ b/lang/cl/.gitignore
@@ -0,0 +1 @@
+gpgme.asd
diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644
index 0000000..bdf4862
--- /dev/null
+++ b/src/.gitignore
@@ -0,0 +1,7 @@
+.deps
+.libs
+gpgme-config
+gpgme-tool
+gpgme.h
+versioninfo.rc
+*.la
diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644
index 0000000..e6e6a4a
--- /dev/null
+++ b/tests/.gitignore
@@ -0,0 +1,10 @@
+.deps
+.libs
+run-export
+run-import
+run-keylist
+run-sign
+run-verify
+t-data
+t-engine-info
+t-version
diff --git a/tests/gpg/.gitignore b/tests/gpg/.gitignore
new file mode 100644
index 0000000..e60bfe5
--- /dev/null
+++ b/tests/gpg/.gitignore
@@ -0,0 +1,30 @@
+.deps
+.libs
+gpg-agent.conf
+gpg.conf
+pubring.gpg
+pubring.gpg~
+secring.gpg
+t-decrypt
+t-decrypt-verify
+t-edit
+t-encrypt
+t-encrypt-large
+t-encrypt-sign
+t-encrypt-sym
+t-eventloop
+t-export
+t-file-name
+t-genkey
+t-gpgconf
+t-import
+t-keylist
+t-keylist-sig
+t-sig-notation
+t-sign
+t-signers
+t-thread1
+t-trustlist
+t-verify
+t-wait
+trustdb.gpg
diff --git a/tests/gpgsm/.gitignore b/tests/gpgsm/.gitignore
new file mode 100644
index 0000000..4f1f113
--- /dev/null
+++ b/tests/gpgsm/.gitignore
@@ -0,0 +1,17 @@
+.deps
+.libs
+cms-decrypt
+cms-keylist
+gpgsm.conf
+private-keys-v1.d
+pubring.kbx
+pubring.kbx~
+t-decrypt
+t-encrypt
+t-export
+t-genkey
+t-import
+t-keylist
+t-sign
+t-verify
+trustlist.txt
diff --git a/tests/opassuan/.gitignore b/tests/opassuan/.gitignore
new file mode 100644
index 0000000..741a197
--- /dev/null
+++ b/tests/opassuan/.gitignore
@@ -0,0 +1,3 @@
+.deps
+.libs
+t-command
--
1.7.3.4


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
Re: [PATCH 1/2] .gitignore: flesh out rules and add subdirectory-.gitignores. [ In reply to ]
Hi,

although git needs to get its act together in .gitignore handling, there
is no reason not to decentralize the ignore file. This should help in
other refactorisations of the code base as well.

I put it in.

Thanks,
Marcus

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel