git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Kolpackov <boris@codesynthesis.com>
To: Han Young <hanyang.tony@bytedance.com>
Cc: git@vger.kernel.org, karen@codesynthesis.com
Subject: Re: [External] Document ability to disable template directory in git-init
Date: Fri, 4 Jul 2025 12:33:31 +0200	[thread overview]
Message-ID: <boris.20250704123013@codesynthesis.com> (raw)
In-Reply-To: <CAG1j3zEiD341X-_ZdR2puaEmZZ0ZBWSmyboyyGZaDXcDTcmAeA@mail.gmail.com>

Han Young <hanyang.tony@bytedance.com> writes:

> Digging through the changelog, I think the feature is added in v1.5.6.4:
> 
>  "git init --template=" with blank "template" parameter linked files
>  under root directories to .git, which was a total nonsense.  Instead, it
>  means "I do not want to use anything from the template directory".

Thanks for digging this up. So in a sense this is an obscurely-
documented behavior that people could reasonably choose to rely
upon. I think only more reason to document this more prominently.


  reply	other threads:[~2025-07-04 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-03 14:40 Document ability to disable template directory in git-init Boris Kolpackov
2025-07-04  2:49 ` [External] " Han Young
2025-07-04 10:33   ` Boris Kolpackov [this message]
2025-07-04 13:53     ` Todd Zullinger
2025-07-06  3:30       ` Jeff King
2025-07-04 14:57 ` Kristoffer Haugsbakk
2025-07-04 15:17   ` Kristoffer Haugsbakk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=boris.20250704123013@codesynthesis.com \
    --to=boris@codesynthesis.com \
    --cc=git@vger.kernel.org \
    --cc=hanyang.tony@bytedance.com \
    --cc=karen@codesynthesis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).