* How to initialize Git repos
@ 2024-03-27 13:06 Felix Lechner
2024-03-29 20:18 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Felix Lechner @ 2024-03-27 13:06 UTC (permalink / raw)
To: meta
Hi,
When I edit the config file manually, i.e. without public-inbox-init, I
see errors until messages are added, such as:
($INBOX_DIR/description missing)
or
fatal: not a git repository (or any parent up to mount point /srv)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
error in git rev-parse --git-dir (cwd:.):
How may I initialize a new Git repo before adding any messages, please?
Kind regards
Felix
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to initialize Git repos
2024-03-27 13:06 How to initialize Git repos Felix Lechner
@ 2024-03-29 20:18 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2024-03-29 20:18 UTC (permalink / raw)
To: Felix Lechner; +Cc: meta
Felix Lechner <felix.lechner@lease-up.com> wrote:
> Hi,
>
> When I edit the config file manually, i.e. without public-inbox-init,
You can still use -init, it should be idempotent
> I see errors until messages are added, such as:
>
> ($INBOX_DIR/description missing)
for v1, it's the same as $GIT_DIR/description gitweb uses.
for v2 it's the same thing at the top-level (same level as all.git)
> or
> fatal: not a git repository (or any parent up to mount point /srv)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> error in git rev-parse --git-dir (cwd:.):
>
> How may I initialize a new Git repo before adding any messages, please?
Not sure, v1 should just be a bare git repo (git init --bare).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-29 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 13:06 How to initialize Git repos Felix Lechner
2024-03-29 20:18 ` Eric Wong
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 read-only IMAP folder(s) and NNTP newsgroup(s).