From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: project.el: git submodules? Date: Tue, 12 May 2020 17:09:04 -0400 Message-ID: References: <875zd1ni5i.fsf@md5i.com> <55769244-c84c-dff0-4427-9ff688f81af5@yandex.ru> <87v9l0nar5.fsf@md5i.com> <95a8c285-125f-afda-b1bc-d1c0452e5c31@yandex.ru> <1bc2052e-b26b-1f3d-f78c-a22112861f27@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="109021"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Welsh Duggan , Gary Oberbrunner , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 12 23:09:53 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYc9w-000SFZ-AO for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 23:09:52 +0200 Original-Received: from localhost ([::1]:56612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYc9v-0006nh-CX for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 17:09:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYc9F-0006NC-PX for emacs-devel@gnu.org; Tue, 12 May 2020 17:09:09 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYc9D-0002Rq-Pw for emacs-devel@gnu.org; Tue, 12 May 2020 17:09:08 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8AD1D450C48; Tue, 12 May 2020 17:09:06 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 59D5A450C45; Tue, 12 May 2020 17:09:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1589317745; bh=yjHbxiV/7krN6H5HEyrNcn5IeDiFvArxOP5/ynKn/4E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lkIQDFTI4cxaMxtWtHDHS8yVD+R/6Ev0OJboCXbvkCvjLHsdABa7kwZgSfRCMOL/n oU3WP9BpFcF9MF9+GgHzmHoJPrwW7yi+rm+NXz9QHxN3oT2JGRePUnUt8w2Zjytreh mKFwV7bQPE2GGOZdmPS7lsZylRCkhPZMTLbQnefGgZKz6nPIr/TpjmeHFUU/OWLOs/ xg4ESreooMVYdHysCWQCO+iv6rqbutANruwQis4AQdg4Wq8HCbxDRmH6jncC0lLxXt smFW90BC/6xK0wjJeDmZnefGkqjSxE/dgQT3zG2bQYH0n2XI9z4TpN7XYC9o0MzZGg NqwVY0y5i7KFA== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 18376120555; Tue, 12 May 2020 17:09:05 -0400 (EDT) In-Reply-To: <1bc2052e-b26b-1f3d-f78c-a22112861f27@yandex.ru> (Dmitry Gutov's message of "Wed, 13 May 2020 00:06:38 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 13:54:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250049 Archived-At: >> But I guess a first approximation is to check "is there another .git >> somewhere further up the directory tree and if so, does it use >> the same repository as the current .git does?". > That seems to imply traversing up the directory tree until '/' in some > cases. Right? Yes (which is no worse than what we do when there's no .git at all ;-) Stefan