Skip to content

Thinning the git toplevel directory

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20110218022701.GA23435@elie

Versions newest first

  1. v1 Latest3 patches 46 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Move libgit.a sources into a libgit/ subdirectoryMakefile libgit/abspath.c libgit/advice.c +114 more+142 -1395 replies
2/3Move test-* into a test-programs/ subdirectoryMakefile test-programs/test-chmtime.c test-programs/test-ctype.c +18 more+9 -60 replies
3/3Move header files into a include/ subdirectoryMakefile include/advice.h include/archive.h +69 more+73 -735 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchNguyễn Thái Ngọc Duy
1/3Requested-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC/PATCH 0/3] Thinning the git toplevel directory

Hi,

Quoted 3 lines · Nguyễn Thái Ngọc Duy
 .gitignore                                         |   19 ------------
 Makefile                                           |   30 ++++++++++----------
 t/helper/.gitignore                                |   19 ++++++++++++

[...]

Quoted 1 line
 24 files changed, 38 insertions(+), 38 deletions(-)

Here's a variation on the theme that just moves source and .o files (leaving questions about how to cope with breaking muscle memory for the resulting executables for later). What do you think?

Patch 1 moves the sources for libgit.a to a subdirectory. This seems appealing anyway, to encourage people to start thinking about how to make it into a standalone and reusable library.

Patch 2 moves source for test programs like test-sha1 to a subdirectory.

Patch 3 dumps header files into an include/ subdirectory. I'm not thrilled with it but it does make the toplevel directory listing shorter.

After this series:

 $ ls | wc -l
 86

which fits nicely on a 113x31 terminal (but certainly not an 80x24 one).

The change descriptions need work. Help would be appreciated.

Thoughts?
Jonathan Nieder (3):
Move libgit.a sources into a libgit/ subdirectory Move test-* into a test-programs/ subdirectory Move header files into a include/ subdirectory

 Makefile                                           |  418 ++++++++++----------
 [plus a bunch of renames]
 208 files changed, 212 insertions(+), 206 deletions(-)