Thread (18 messages) flat view 18 messages, 3 authors, 20d ago
COLD20d

[RFC PATCH 05/14] organize: declare Git's scope and layout

From: Michael Montalbo <hidden>
Date: 2026-08-23 17:19:25
Subsystem: the rest · Maintainer: Linus Torvalds

Author .gitorganize for Git's own tree. [scope] puts the root *.c and *.h
sources in scope. [layout] keeps a public interface (role:public) and a
standalone program (role:program) at the root, and routes each component's
sources to a directory of the same name: transport sources to transport/,
diff sources to diff/, and so on for the thirteen components.

This is the map alone. The next step records a label per source; the carves
that follow move each component into place.

Signed-off-by: Michael Montalbo <redacted>
---
 .gitorganize | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .gitorganize
diff --git a/.gitorganize b/.gitorganize
new file mode 100644
index 0000000000..18cf3228a8
--- /dev/null
+++ b/.gitorganize
@@ -0,0 +1,19 @@
+[scope]
+:(glob)*.c
+:(glob)*.h
+[layout]
+role:public = .
+role:program = .
+component:odb = odb
+component:refs = refs
+component:pack = pack
+component:diff = diff
+component:merge = merge
+component:revision = revision
+component:index = index
+component:setup = setup
+component:convert = convert
+component:transport = transport
+component:notes = notes
+component:submodule = submodule
+component:archive = archive
-- 
2.54.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help