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

Re: [PATCH] doc: fix location of 'info/' with $GIT_COMMON_DIR

From
Duy Nguyen <pclouds@gmail.com>
Date
Nov 12, 2016, 02:01 UTC
Message-ID
<CACsJy8DeWR=80H9WEnBAEJhM2YrjgtvjVkop3Q8O2wH2HS9+BQ@mail.gmail.com>
In-Reply-To
<20161111112332.27727-1-ps@pks.im>
On Fri, Nov 11, 2016 at 6:23 PM, Patrick Steinhardt <ps@pks.im> wrote:
Show 8 quoted lines
> With the introduction of the $GIT_COMMON_DIR variable, the
> repository layout manual was changed to reflect the location for
> many files in case the variable is set. While adding the new
> locations, one typo snuck in regarding the location of the
> 'info/' folder, which is falsely claimed to reside at
> "$GIT_COMMON_DIR/index".
>
> Fix the typo to point to "$GIT_COMMON_DIR/info/" instead.
Oops. Ack!
Show 22 quoted lines
>
> Signed-off-by: Patrick Steinhardt <ps@pks.im>
> ---
>  Documentation/gitrepository-layout.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt
> index 577ee84..a5f99cb 100644
> --- a/Documentation/gitrepository-layout.txt
> +++ b/Documentation/gitrepository-layout.txt
> @@ -177,7 +177,7 @@ sharedindex.<SHA-1>::
>  info::
>         Additional information about the repository is recorded
>         in this directory. This directory is ignored if $GIT_COMMON_DIR
> -       is set and "$GIT_COMMON_DIR/index" will be used instead.
> +       is set and "$GIT_COMMON_DIR/info" will be used instead.
>
>  info/refs::
>         This file helps dumb transports discover what refs are
> --
> 2.10.2
>
-- 
Duy
Previous: Patrick Steinhardt
Message 2 of 2 in “doc: fix location of 'info/' with $GIT_COMMON_DIR”
  1. doc: fix location of 'info/' with $GIT_COMMON_DIRPatrick Steinhardt, Nov 11, 2016
  2. Duy NguyenNov 12, 2016

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.