From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:content-transfer-encoding; bh=ZnfdPn1pcxCknx5LatYSUvV5dmo1GPeM1cuDoNKR7H4=; b=bMrvgwrJYfJst23SEfUNVssu5T6OmJFTWgzRJEgUZHPQlaxkodFW1LAxZtuxUl7L+d gYEO1DnNWzYPFnR+n5LZtXEFAZtTHGozKM4n8Qg4UljOAlljl8n12PS3JCKE+pXGduHh UD1sSMRUjrH0ExN+9VYj8sM9YRYYhRY6AEkOI= Date: Sun, 28 Aug 2011 20:55:27 +0400 From: thecrux@gmail.com To: ALT Linux Sisyphus mailing list Message-ID: <20110828165527.GA1003@mail.truecrux.org> Mail-Followup-To: ALT Linux Sisyphus mailing list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [sisyphus] git (1.7.6.1) 'submodule add' behaviour X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 16:57:03 -0000 Archived-At: List-Archive: List-Post: В новой версии git 1.7.6.1 изменилось поведение комманды submodule add Рассмотрим пример для git 1.7.6: $ mkdir test $ cd test $ git init $ git submodule add /path/to/another/gitrepo sub $ git submodule status -54025f777a47812935ff085214fe9503d6039c01 sub в случае git 1.7.6.1 последняя команда выдаёт 54025f777a47812935ff085214fe9503d6039c01 sub (heads/master) Т.е. субмодуль при добавлении сразу инициируется. Корректно ли такое поведение? -- Vladimir Lettiev aka crux ✉ theCrux@gmail.com