From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26313 invoked by alias); 27 Feb 2011 18:59:16 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 26304 invoked by uid 22791); 27 Feb 2011 18:59:15 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Sun, 27 Feb 2011 18:59:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: Pierre Muller , archer@sourceware.org Subject: Re: [Archer] Re: [Archer] Question about archer branch managment Message-ID: <20110227185845.GA31920@host1.dyn.jankratochvil.net> References: <00ab01cbd415$9e3e8410$dabb8c30$@muller@ics-cnrs.unistra.fr> <20110224113228.GE2513@adacore.com> <20110227175003.GA28937@host1.dyn.jankratochvil.net> <20110227181752.GH2513@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110227181752.GH2513@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2011-q1/txt/msg00115.txt.bz2 On Sun, 27 Feb 2011 19:17:52 +0100, Joel Brobecker wrote: > > Really not: > > (I don't know if I'm the only one feeling that way, but your style > is insanely compact for my brain - it often takes a long time to > understand what you're trying to say sometimes) Thanks for the feedback, still in this case I believe the problem was different: > > $ rm -rf 1 2;mkdir 1 2;cd 1;git init;touch f;git add f;git commit -m f f;cd ..;git clone 1 2;cd 2;git checkout -b x;git push origin ;cd ../1;git branch;cd .. + > > $ rm -rf 1 2;mkdir 1 2;cd 1;git init;touch f;git add f;git commit -m f f;cd ..;git clone 1 2;cd 2;git checkout -b x;git push origin x:x;cd ../1;git branch;cd .. > I think I didn't express myself clearly. This is completely a mistake on my side. I tested something different than what you said. $ rm -rf 1 2;mkdir 1 2;cd 1;git init;touch f;git add f;git commit -m f f;cd ..;git clone 1 2;cd 2;git checkout -b x;git push origin x ;cd ../1;git branch;cd .. Switched to a new branch 'x' Total 0 (delta 0), reused 0 (delta 0) To /tmp/gittest3/1 * [new branch] x -> x * master x It really works the way you say. I have updated the Wiki now: http://sourceware.org/gdb/wiki/ArcherBranchManagement?action=diff&rev2=121&rev1=120 > All I was trying to say is > that "x:x" in a "git push" command is equivalent to "x". Yes, it is. I did not know it myself. Thanks, Jan