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

Re: Host refs to push are chosen (documentation error)?

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 18, 2010, 04:06 UTC
Message-ID
<7vocjnuqzy.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100218021010.GA21693@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> @@ -217,10 +217,8 @@ them easily.
>  MERGE_HEAD records the commit(s) you are merging into your branch
>  when you run 'git merge'.
>  +
> -For any of the `$GIT_DIR/refs` cases above, packed refs from
> -`$GIT_DIR/packed-refs` may be substituted (e.g., a line with
> -`refs/heads/master` in the packed-refs file would have the same
> -precedence as the file `$GIT_DIR/refs/heads/master`).
> +Note that any of the `refs/*` cases above may come either from
> +the `$GIT_DIR/refs` directory or from the `$GIT_DIR/packed-refs` file.
This makes it much more clear.  Thanks.
Previous: Jeff KingNext: Jeff King
Message 8 of 12 in “Host refs to push are chosen (documentation error)?”
  1. Andrey BorzenkovFeb 17, 2010
  2. Tay Ray ChuanFeb 17, 2010
  3. Avery PennarunFeb 17, 2010
  4. Jeff KingFeb 18, 2010
  5. Avery PennarunFeb 18, 2010
  6. Junio C HamanoFeb 18, 2010
  7. Jeff KingFeb 18, 2010
  8. Junio C HamanoFeb 18, 2010
  9. Jeff KingFeb 18, 2010
  10. Junio C HamanoFeb 18, 2010
  11. Jeff KingFeb 18, 2010
  12. Andrey BorzenkovFeb 18, 2010

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.