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

Re: [PATCH] git-remote.txt: fix wrong remote refspec

From
Namhyung Kim <namhyung@gmail.com>
Date
Jun 23, 2011, 16:03 UTC
Message-ID
<1308844986.1332.10.camel@leonhard>
In-Reply-To
<7vy60s36mm.fsf@alter.siamese.dyndns.org>
2011-06-23 (목), 08:33 -0700, Junio C Hamano:
Show 19 quoted lines
> And here is my attempt, on top of Namhyung's v2 of this patch.
> 
> -- >8 --
> Subject: git-remote.txt: avoid sounding as if loose refs are the only ones in the world
> 
> It was correct to say "The file $GIT_DIR/refs/heads/master stores the
> commit object name at the tip of the master branch" in the older days,
> but not anymore, as refs can be packed into $GIT_DIR/packed-refs file.
> 
> Update the document to talk in terms of a more abstract concept "ref" and
> "symbolic ref" where we are not describing the underlying implementation
> detail.
> 
> This on purpose leaves two instances of $GIT_DIR/ in the git-remote
> documentation; they do talk about $GIT_DIR/remotes/ and $GIT_DIR/branches/
> file hierarchy that used to be the place to store configuration around
> remotes before the configuration mechanism took them over.
> 
> Signed-off-by: Junio C Hamano <gitster@pobox.com>

By quick grep-ing $GIT_DIR/refs/, I found git.txt and glossary-content.txt might need the same treatment. Did/Could you check out those too?

Otherwise, looks good to me. Thanks.

-- 
Regards,
Namhyung Kim
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 16 in “git-remote.txt: fix wrong remote refspec”
  1. git-remote.txt: fix wrong remote refspecNamhyung Kim, Jun 23, 2011
  2. Junio C HamanoJun 23, 2011
  3. Namhyung KimJun 23, 2011
  4. git-remote.txt: fix wrong remote refspecNamhyung Kim, Jun 23, 2011
  5. Junio C HamanoJun 23, 2011
  6. Namhyung KimJun 23, 2011
  7. 0/5 Clarify "refs"Junio C Hamano, Jun 23, 2011
  8. 1/5 check-ref-format doc: de-emphasize the implementation detail of a refJunio C Hamano, Jun 23, 2011
  9. Eric SunshineJun 23, 2011
  10. 2/5 git.txt: de-emphasize the implementation detail of a refJunio C Hamano, Jun 23, 2011
  11. 3/5 glossary: update description of "tag"Junio C Hamano, Jun 23, 2011
  12. Eric SunshineJun 23, 2011
  13. 4/5 glossary: update description of head and refJunio C Hamano, Jun 23, 2011
  14. 5/5 glossary: clarify description of HEADJunio C Hamano, Jun 23, 2011
  15. Carlos Martín NietoJun 23, 2011
  16. Junio C HamanoJun 23, 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.