From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Harris Subject: subtree woes Date: Tue, 5 Jun 2012 15:09:19 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Jun 05 09:10:22 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SbnuG-0007oq-Ov for gcvg-git-2@plane.gmane.org; Tue, 05 Jun 2012 09:10:21 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753547Ab2FEHKK (ORCPT ); Tue, 5 Jun 2012 03:10:10 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:42262 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752917Ab2FEHKB (ORCPT ); Tue, 5 Jun 2012 03:10:01 -0400 Received: by wibhn6 with SMTP id hn6so3596728wib.1 for ; Tue, 05 Jun 2012 00:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=EJcEiHSFtRv2fgdRPfyaIY6Gf9a6BDUd1M+70E4UeGw=; b=tsg+BB5ss2+aipK5X9QrDNcgJvUqrzCoGOP5T4BO+E0d6L1TtRAZ6JYbFIu/LdS4NE zgJTfXeNt5c/palOClS/mpwqoFslMpBv9BaXbbIdBsZaM3WnvK9A2aFoHQIou2tm7v+H diVsHxFfLrzYtd9JfTX1fRy+B13j3VLmeTuZLS6OEkcV+IoyftdpwXcDrhbLY0f4A9RY vgbuS+T25Y2k/7qNyGaHrTuPn8OrERu1UGkgUFshIxE+JJqcM73nR3Xn4ImwXRo4hKdO csBq9lTj8taIPtFVQWJ9ZSyrPWJtqAkpUWBw+ZsUr0tnHc/g6O11HIdSSPklMeFXBDiZ ilNA== Received: by 10.216.137.147 with SMTP id y19mr5714288wei.33.1338880200421; Tue, 05 Jun 2012 00:10:00 -0700 (PDT) Received: by 10.223.154.202 with HTTP; Tue, 5 Jun 2012 00:09:19 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hello, I'm shifting my projects to use a subtree system, and I'm having some trouble. Looks like I'm hitting a subtree-merge bug, although I thought they were all fixed by now. I'm using cygwin, git 1.7.9 and apenwarr's git-subtrees repo. I've also tried git 1.7.10.msysgit.1 with apenwarr's git-subtrees. I've created a repo on github with a test: https://github.com/paulharris/subtree_test The procedure is described in the readme, and has the results too. In short, I set up a superproject, with some subproject/subtrees. I have a branch that is my subtree, and now I want to merge it, like so: git subtree merge -P zlib origin/subtrees/zlib Instead of merging the subfolder, it clears the super-project and all I am left with is the zlib project ! thanks! Paul