From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 835E31F6BF for ; Thu, 1 Sep 2016 16:05:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934211AbcIAQFb (ORCPT ); Thu, 1 Sep 2016 12:05:31 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:35357 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933972AbcIAQFa (ORCPT ); Thu, 1 Sep 2016 12:05:30 -0400 Received: by mail-oi0-f51.google.com with SMTP id p186so88038692oia.2 for ; Thu, 01 Sep 2016 09:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=p/jodPc4gIO2NSY78iBtiBzcQTfBfx70oLkWUwcsS1A=; b=NJZKjTIMwMX7X9FYSDNLZA4aZZpKx7JH4EcE8j5XJbjV1/jPpAr+OHVtUU/75Yqc/H jSxRsxp4IFXXTJPakjHdpIJqHqN8BqREpvlMIXVgUYt+vm0L4C3ie3jnkDrr3RgB42BW ywJJfyU8miJJXkhODfxqN+6WKvjGzw71FpP6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=p/jodPc4gIO2NSY78iBtiBzcQTfBfx70oLkWUwcsS1A=; b=jzJrudG4Zso0BGdZWL8zc6My7MEYLi2CuEUnXFt9CIn4AxngEPLh+ULbW9VBEBn9yQ UtIrH//nIqgxndwz2GG/4i/K3CGykTN9Is8IvtNRvlImdXaFinRoWGWNyFEJdA4FT3G1 pQgVxjou1dRdSl/0YRcFYZaacmSBgs5ER35+zkkAI1xbqH09bPNckGrul7muokWWtK2I uHjFxFp3tkgMgj+3/+he23Z3/aknOd2nlml37T6zREb6o4EZIKDm7w/jDhFwOO4FEEoD SgaBSQz7HwxcjNy8OIcJ6DRo+tu7azTi4Dq/2NZoI/PbT1LZkHQqIMhdUguNmdM/tAH/ bqMA== X-Gm-Message-State: AE9vXwNHC9CV983QYbAZ8EzH8J7yGiPuQ09mwhtadw8ognNUD7occUkQcZMQoN4gIghefbke+XE2oEkY3mUbhtyi X-Received: by 10.157.22.156 with SMTP id c28mr15457332ote.155.1472745929039; Thu, 01 Sep 2016 09:05:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.55.226 with HTTP; Thu, 1 Sep 2016 09:05:28 -0700 (PDT) In-Reply-To: References: From: Uma Srinivasan Date: Thu, 1 Sep 2016 09:05:28 -0700 Message-ID: Subject: Re: git submodules implementation question To: Junio C Hamano Cc: Jacob Keller , Git Mailing List , Jens Lehmann , Heiko Voigt , Stefan Beller Content-Type: text/plain; charset=UTF-8 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Yes, this one line fix addresses my problem. So, what is the next step? Will someone submit a patch or should I? Please note that I've never submitted a patch before, but I don't mind learning how to. Thanks, Uma > --- a/submodule.c > +++ b/submodule.c > @@ -1160,4 +1160,5 @@ void prepare_submodule_repo_env(struct argv_array *out) > if (strcmp(*var, CONFIG_DATA_ENVIRONMENT)) > argv_array_push(out, *var); > } > + argv_array_push(out, "GIT_DIR=.git"); > } >