summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-01-17 16:21:46 +0100
committerThomas Haller <thaller@redhat.com>2023-01-17 16:29:06 +0100
commit037fdcaf20dcc050f43dd449c2ce9b83b50a4ea4 (patch)
treeb7a0bfb7f435498111a30a17da09c4cbd9f7076c /CONTRIBUTING.md
parent8f13cb490ba4cd59e42993f86d73018e98e39042 (diff)
downloadNetworkManager-037fdcaf20dcc050f43dd449c2ce9b83b50a4ea4.tar.gz
CONTRIBUTING: add hint for using cscope
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7dd36152c7..fe195b4aa9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -221,6 +221,13 @@ source code and navigate it. These tools can integrate with editors like `Vim` a
- http://cscope.sourceforge.net/cscope_vim_tutorial.html
- https://www.emacswiki.org/emacs/CScopeAndEmacs
+For cscope, you can also set `$SOURCEDIRS` to include other source trees and navigate
+those sources. For example,
+```
+export SOURCEDIRS=/path/to/glib:/path/to/libndp
+cscope -b -q -R -ssrc
+```
+
Miscellaneous
---------------------------