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

Re: [PATCH/RFC] init, clone: support --real-git-dir for .git file

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Mar 4, 2011, 04:19 UTC
Message-ID
<AANLkTikaD5oxx2bwx0R3x_1p1KnfBFqJJ2xtNiWW4-SC@mail.gmail.com>
In-Reply-To
<4D700469.7090807@gmail.com>
2011/3/4 Piotr Krukowiecki <piotr.krukowiecki@gmail.com>:
Show 6 quoted lines
>>  This makes '.git symbolic link' (what's its official name?) more
>>  convenient to use. Previously whenever I need to create a .git link,
>>  I need to open docs to see its format. Now all I need to do is
>
> Took me a while to find documentation for .git file format. Probably my
> fault, missed the gitrepository-layout link.

Exactly why I wrote this patch. I do remember there is a prefix before the path, but what is it? gitdir: or git-dir: or dir:? No I don't want to look at the document every time I need to create a link. Trial and error is not preferred either. Also manual manipulation on repos should be avoided if possible.

-- 
Duy
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 15 in “init, clone: support --real-git-dir for .git file”
  1. init, clone: support --real-git-dir for .git fileNguyễn Thái Ngọc Duy, Mar 3, 2011
  2. Piotr KrukowieckiMar 3, 2011
  3. Junio C HamanoMar 3, 2011
  4. Piotr KrukowieckiMar 4, 2011
  5. Nguyen Thai Ngoc DuyMar 4, 2011
  6. Piotr KrukowieckiMar 4, 2011
  7. Junio C HamanoMar 4, 2011
  8. Nguyen Thai Ngoc DuyMar 4, 2011
  9. Junio C HamanoMar 4, 2011
  10. Miles BaderMar 4, 2011
  11. Nguyen Thai Ngoc DuyMar 4, 2011
  12. Nguyen Thai Ngoc DuyMar 4, 2011
  13. Junio C HamanoMar 4, 2011
  14. Nguyen Thai Ngoc DuyMar 4, 2011
  15. Miles BaderMar 4, 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.