From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E1AFC001B0 for ; Fri, 11 Aug 2023 20:41:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235706AbjHKUlZ (ORCPT ); Fri, 11 Aug 2023 16:41:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232759AbjHKUlY (ORCPT ); Fri, 11 Aug 2023 16:41:24 -0400 Received: from secure.elehost.com (secure.elehost.com [185.209.179.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53FB5E42 for ; Fri, 11 Aug 2023 13:41:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at secure.elehost.com Received: from Mazikeen (cpebc4dfb928313-cmbc4dfb928310.cpe.net.cable.rogers.com [99.228.251.108] (may be forged)) (authenticated bits=0) by secure.elehost.com (8.15.2/8.15.2/Debian-22ubuntu3) with ESMTPSA id 37BKd9tx875612 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Aug 2023 20:39:10 GMT Reply-To: From: To: "'Mun Johl'" , References: <034501d9cc91$069bd360$13d37a20$@nexbridge.com> In-Reply-To: Subject: RE: "fatal: Not a git repository" issued during 'make' from source code Date: Fri, 11 Aug 2023 16:41:17 -0400 Organization: Nexbridge Inc. Message-ID: <034c01d9cc94$30c14960$9243dc20$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGYfaIzxiLvNNliA6NGPhsdV5ubsQMKIH4jAuuSHg0Chwpk/bAkRwUw Content-Language: en-ca Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Friday, August 11, 2023 4:26 PM, Mon Johl wrote: >Sorry for the additional reply--I should have mentioned that we don't have a git repo >yet. I am just trying to get things setup so that we can create a proper repo and >migrate our data. Please consult this page: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git >> -----Original Message----- >> From: Mun Johl >> Sent: Friday, August 11, 2023 1:23 PM >> To: rsbecker@nexbridge.com; git@vger.kernel.org >> Subject: RE: "fatal: Not a git repository" issued during 'make' from >> source code >> >> Hi Randall, >> >> Thank you for your quick reply. >> >> I'm just wondering... Can I "trick" the compilation process by simply creating a .git >directory where I am running 'make'? >> >> Thanks again and best regards, >> >> -- >> Mun >> >> > -----Original Message----- >> > From: rsbecker@nexbridge.com >> > Sent: Friday, August 11, 2023 1:19 PM >> > To: Mun Johl ; git@vger.kernel.org >> > Subject: RE: "fatal: Not a git repository" issued during 'make' from >> > source code >> > >> > CAUTION: This email originated from outside of Western Digital. Do >> > not click on links or open attachments unless you recognize the sender and know >that the content is safe. >> > >> > >> > On Friday, August 11, 2023 3:57 PM, Mun Johl wrote: >> > >I am new to git and am trying to compile git-2.41.0 on RHEL7. When >> > >I run >> > 'make >> > >prefix=/usr/local all doc', I get the following error: >> > > >> > >fatal: Not a git repository (or any parent up to mount point >> > >/tools) >> > > >> > >Which I infer means that I need to do the build within a git repo. >> > >Is that >> > correct? Or >> > >have I missed some basic step in the build process? >> > >> > Yes, you must be in the cloned git repository in order to run the build. >> > --Randall