Skip to contentSkip to conversation

Add examples/ and test/ binaries to .gitignore

PATCH New Stefan Hajnoczi 1 participant 3 messages May 24, 2019 Block layer

lore
Share & tools
lore
#0 lore raw

cover Add examples/ and test/ binaries to .gitignore

The git-status(1) output is noisy since it includes the examples/ and test/ binaries. They should not be committed so add them to .gitignore.

I noticed this when trying Aarushi's io_uring code for QEMU at
https://github.com/rooshm/qemu/tree/io_uring.

Stefan Hajnoczi (2):
Add example binaries to .gitignore
Add test binaries to .gitignore

 .gitignore | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/2 Add example binaries to .gitignore

The same idea as for liburing.a and friends. Ignore the executables built in examples/.

---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)
.gitignore +4 -0
index e292825..22c0cbd 100644
@@ -9,6 +9,10 @@
 /src/liburing.a
 /src/liburing.so*
 
+/examples/io_uring-cp
+/examples/io_uring-test
+/examples/link-cp
+
 config-host.h
 config-host.mak
 config.log
Signature · 1 line
2.21.0
#2 lore raw

PATCH 2/2 Add test binaries to .gitignore

In reply to Stefan Hajnoczi

The same idea as for liburing.a and friends. Ignore the executables built in test/.

---
 .gitignore | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
.gitignore +17 -0
index 22c0cbd..55309e1 100644
@@ -13,6 +13,23 @@
 /examples/io_uring-test
 /examples/link-cp
 
+/test/poll
+/test/poll-cancel
+/test/ring-leak
+/test/fsync
+/test/io_uring_setup
+/test/io_uring_register
+/test/io_uring_enter
+/test/nop
+/test/sq-full
+/test/cq-full
+/test/35fa71a030ca-test
+/test/917257daa0fe-test
+/test/b19062a56726-test
+/test/eeed8b54e0df-test
+/test/link
+/test/send_recvmsg
+
 config-host.h
 config-host.mak
 config.log
Signature · 1 line
2.21.0