git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] Move contents of libgit.a to lib subdirectory

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jun 20, 2011, 01:12 UTC
Message-ID
<20110620011245.GA25836@elie>
In-Reply-To
<alpine.LNX.2.00.1106192014410.41113@linux.foleyremote.com>
Hi,
Peter Foley wrote:
Show 11 quoted lines
> This patch tries to organize the git source tree by moving the files which 
> make up libgit.a to a lib subdirectory.
> Before this patch the toplevel source directory contained 285 files. 
> After this patch the root directory will contain 167 files and 
> the lib subdirectory will contain 119 files
>
> Signed-off-by: Peter Foley <pefoley2@verizon.net>
> ---
>  Makefile                                     |  258 +++++++++++++-------------
>  abspath.c => lib/abspath.c                   |    0
>  advice.c => lib/advice.c                     |    0
[...]
>  zlib.c => lib/zlib.c                         |    0

Thanks for a reminder. I had some vague hope that some "log --follow" improvements[0] would arrive to make commands like "git log --follow lib/branch.c" less painful, but that doesn't seem to be happening. It's probably best not to wait forever.

As for the patch itself: my main thought is that I prefer to see "branch.c" and "branch.h" in the same directory. Aside from that, I like it. See [1] for some related discussion.

Regards, Jonathan

[0] https://git.wiki.kernel.org/index.php/SoC2011Ideas#Better_git_log_--follow_support [1] http://thread.gmane.org/gmane.comp.version-control.git/166424/focus=167154

Previous: Thiago Farina
Message 7 of 7 in “Move contents of libgit.a to lib subdirectory”
  1. Move contents of libgit.a to lib subdirectoryPeter Foley, Jun 20, 2011
  2. Shawn PearceJun 20, 2011
  3. Peter FoleyJun 20, 2011
  4. Junio C HamanoJun 20, 2011
  5. Jonathan NiederJun 20, 2011
  6. Thiago FarinaJun 20, 2011
  7. Jonathan NiederJun 20, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.