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

Re: [PATCH/RESEND] git-repack: allow git-repack to run in subdirectory

From
Junio C Hamano <junkio@cox.net>
Date
Sep 25, 2006, 03:16 UTC
Message-ID
<7vwt7s63gt.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060925023111.GA14003@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> Now that we explicitly create all tmpfiles below $GIT_DIR, there's no reason
> to care about which directory we're in.
>
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> There was no response on this; is there any reason not to allow this, or
> did it just get dropped?
Simply forgotten; it might be _correct_ but it is not important.

While it may technically be correct that the command could be run from anywhere, repack is a whole repository operation, and it is an operation performed not that often. There is no reason to forbid it to run from subdirectories, but it does not hurt users much if it did.

Will queue for "next" and push it out before 1.4.3 if I do not forget it again ;-).

Previous: Jeff King
Message 12 of 12 in “git commands that only work correctly at top directory”
  1. Nguyen Thai Ngoc DuySep 22, 2006
  2. format-patch: use cwd as default output directoryMatthias Lederhofer, Sep 22, 2006
  3. Nguyen Thai Ngoc DuySep 28, 2006
  4. Junio C HamanoSep 28, 2006
  5. git-format-patch: fix bug using -o in subdirectoriesMatthias Lederhofer, Sep 28, 2006
  6. Matthias LederhoferSep 22, 2006
  7. Nguyen Thai Ngoc DuySep 22, 2006
  8. Petr BaudisSep 23, 2006
  9. git-repack: allow git-repack to run in subdirectoryJeff King, Sep 22, 2006
  10. Thomas KolejkaSep 22, 2006
  11. git-repack: allow git-repack to run in subdirectoryJeff King, Sep 25, 2006
  12. Junio C HamanoSep 25, 2006

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.