From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gary Oberbrunner Newsgroups: gmane.emacs.devel Subject: Re: project.el: git submodules? Date: Tue, 12 May 2020 14:33:20 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="73150"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 20:35:32 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 1jYZka-000Iw8-JM for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 20:35:32 +0200 Original-Received: from localhost ([::1]:55530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYZkZ-00021z-Ji for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 14:35:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYZig-0000jH-Tw for emacs-devel@gnu.org; Tue, 12 May 2020 14:33:34 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:47034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYZif-0001hf-QN for emacs-devel@gnu.org; Tue, 12 May 2020 14:33:34 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id e2so11848545eje.13 for ; Tue, 12 May 2020 11:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oberbrunner.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Rl2b84q4DyjxlxQLxmpS+4ioy/ahee6qYUQ6sJ9CZ4=; b=S2NGLzh6I4kGA2BO7QHw5t6lPF8elB1l8BjUSEQriRHFa7oXGeJjpibl4yYlppOcDB bfMxlQoawpSDRCGxyt8CwaKCZb+w8FQbDrA3YjAR1pzW7xwN+AfvKHRQFLgbF4u6YgRO UAH0NELQzfbaUyLZXTl7g4GnAtUuu+ViQOQgH2e2YLNsl9NgJ2y+D4icF3OCv/8zkEXZ ljhZoPulj+lb6eQT56KBomcOvMcYXtw+rYH5J8Tcq4to6rsp0F9hdrqi3k3cf8Zxc+aY 4fVy8He+lY3mq6TLWdEQf7uQTYoKSHerqpokP/NQRhhc8h534nYZafB2nkmAzSbaFx9K KiNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4Rl2b84q4DyjxlxQLxmpS+4ioy/ahee6qYUQ6sJ9CZ4=; b=RshSLy2k3hPZsGp1GP0kKWKvddHvGZAGcUHYa2XZOLTnHOMHHQeAN1JDuCNA7MH+MW kBEsGUg6/zGvUXzn0hfK1L2jj+E9EQMPMWKfscpaRS3wgyhOAbR4b15do662GV+cZVBs tbJGbpG+sVNc9s9FWo94LS0NJUvFsfQ/TOKBdrmU+Q52rKFl6DfWPSLTcrBJghNArmFm gznEvazv8XXTAXJGiLt0RN1KyYfRh575SjBMMmnBUFUlGZsHX2cXvbIJ6IXZ0LAqBNmZ SFG7uc8hlkQ2WxeMzXu0lkmNjS55sYyZCMDvDo4+zTux4zV7ybzLQaVU7H5yFh9VhPf1 4bAA== X-Gm-Message-State: AOAM531q1fmdg3mDwRu7sV9nPQuBRtCPpeTWunKpnYXYwPWVM00oWtIx jf8Ipke5zzYjwY+XUh6bGcoC8MqRjPYZWrLJNxm2IhZy4S9gLg== X-Google-Smtp-Source: ABdhPJx5pfBU/f3YEKBc2SlQGqy3LpKjlVf5CaeiUjdnol9kCbtT9481MGlhy0uod9F1drxOkq0a1Zre2k2zC5i5ono= X-Received: by 2002:a17:906:4e13:: with SMTP id z19mr8061463eju.339.1589308412050; Tue, 12 May 2020 11:33:32 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=garyo@oberbrunner.com; helo=mail-ej1-x633.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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:250017 Archived-At: In my case at least, you're right and my submodule is seriously confused. It has a .git/ dir which disagrees with the ../.git/modules one. That's what was causing my problem. I've been doing a lot of work in that submodule (multiple upstream repos, merges, pushes, etc.) and perhaps something I did made it create that. Apparently the correct way to do this is "git rev-parse --show-superproject-working-tree". See https://stackoverflow.com/questions/7359204 for more info. (And in fact that does work in my case even with my messed-up .git dir in the submodule.) -- Gary