* [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait`
@ 2024-11-06 14:45 Haiyue Wang
2024-11-06 14:45 ` [PATCH liburing v1 2/2] .gitignore: Add compilation database file and directory Haiyue Wang
2024-11-06 14:53 ` [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Haiyue Wang @ 2024-11-06 14:45 UTC (permalink / raw)
To: io-uring; +Cc: Haiyue Wang
Add the built binary file name from the commit for clean git track:
abe992c56178 ("examples/reg-wait: add registered wait example")
Signed-off-by: Haiyue Wang <[email protected]>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 8edb52d..7bcc514 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@
/examples/send-zerocopy
/examples/rsrc-update-bench
/examples/kdigest
+/examples/reg-wait
/test/*.t
/test/*.dmesg
--
2.47.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH liburing v1 2/2] .gitignore: Add compilation database file and directory
2024-11-06 14:45 [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Haiyue Wang
@ 2024-11-06 14:45 ` Haiyue Wang
2024-11-06 14:53 ` [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Haiyue Wang @ 2024-11-06 14:45 UTC (permalink / raw)
To: io-uring; +Cc: Haiyue Wang
The tool 'bear'[1] can be used to generate the C language server protocol
database file while compiling: 'bear -- make -j $(nproc)'
Add the database file into .gitignore as Linux Kernel [2] does.
The clangd will parse the compile_commands.json language metadata into the
.cache directory. Add it for clean git status track.
[1]: https://github.com/rizsotto/Bear
[2]: https://git.kernel.org/torvalds/c/26c4c71bcd9a
Signed-off-by: Haiyue Wang <[email protected]>
---
.gitignore | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.gitignore b/.gitignore
index 7bcc514..4148091 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,6 +33,10 @@
/test/*.dmesg
/test/output/
+# Clang's compilation database file and directory.
+/.cache
+/compile_commands.json
+
config-host.h
config-host.mak
config.log
--
2.47.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait`
2024-11-06 14:45 [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Haiyue Wang
2024-11-06 14:45 ` [PATCH liburing v1 2/2] .gitignore: Add compilation database file and directory Haiyue Wang
@ 2024-11-06 14:53 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2024-11-06 14:53 UTC (permalink / raw)
To: io-uring, Haiyue Wang
On Wed, 06 Nov 2024 22:45:27 +0800, Haiyue Wang wrote:
> Add the built binary file name from the commit for clean git track:
> abe992c56178 ("examples/reg-wait: add registered wait example")
>
>
Applied, thanks!
[1/2] .gitignore: Add `examples/reg-wait`
commit: f8375148e1a58f11b10030d1fa593aa369041b90
[2/2] .gitignore: Add compilation database file and directory
commit: a27cad82c6c1ffb4a387967ff4b088509e10303f
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-06 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 14:45 [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Haiyue Wang
2024-11-06 14:45 ` [PATCH liburing v1 2/2] .gitignore: Add compilation database file and directory Haiyue Wang
2024-11-06 14:53 ` [PATCH liburing v1 1/2] .gitignore: Add `examples/reg-wait` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox