From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C60771F44D; Fri, 29 Mar 2024 20:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1711743500; bh=gKzn6QFRzgPNoR05OthYHnxA5o8UaVQzqWq+c9p7C5E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vJKsfwxnKybxpBVj3wnTUvW0INPy/BArxIAYnWeaANs8q7g3a2w5pCeeSP6LW7zbQ Zy919k8+yimUz2sIA+mk7lLeKoZ+Kbc5uUb8CQ7qQ5sOLBUEQGvt3CyVhfybtePLDS PDe37OoVwegEH95969YqhCQszJNKy2i8JgJjoMD0= Date: Fri, 29 Mar 2024 20:18:20 +0000 From: Eric Wong To: Felix Lechner Cc: meta@public-inbox.org Subject: Re: How to initialize Git repos Message-ID: <20240329201820.M667212@dcvr> References: <87edbv3jtc.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87edbv3jtc.fsf@lease-up.com> List-Id: Felix Lechner 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).