Wireshark mailing list archives
Re: How to clone 1.12 branch source code
From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Mon, 16 Jun 2014 08:36:12 -0700
On Mon, Jun 16, 2014 at 8:00 AM, Jeff Morriss <jeff.morriss.ws () gmail com> wrote:
[I merged a couple of forks of this thread to show more history before responding.] On 06/15/14 10:51, Richard Sharpe wrote: Le 15/06/2014 14:02, Jeff Morriss a écrit :On Sun, Jun 15, 2014 at 4:31 AM, wsgd <wsgd () free fr> wrote:Must be possible to clone directly the good branch, no ?git clone --branch master-1.12 https://code.wireshark.org/review/wireshark master-1.12Why would you want to do that when you can clone the whole thing and then just check out what you want?Why clone master when you really want master-1.12? Before I RTFM'd and discovered the --branch command I used to do as you suggest but it seemed quite a waste: git clone [...] master-1.12 git checkout origin/master-1.12 -b master-1.12 git branch -D master Note that I really want a separate directory that is dedicated to master-1.12. The whole do-everything-in-one-directory thing takes entirely too long (right now I can test a fuzz failure against 3 or more branches in parallel without even having to wait for a recompile let alone deal with all the mess that gets left behind when switching major branches--look at git status after switching from a master-1.10 compile to master for an example).
Sure, but what I do is clone the repository and then make copies for each of the branches I want to work on. For one thing it would make it easier to cherry-pick changes ... Once you copy a repo, you can independently pull or fetch in that directory as you need. Uses more space, but disk space is cheap these days. -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操) ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- How to clone 1.12 branch source code wsgd (Jun 15)
- Re: How to clone 1.12 branch source code Pascal Quantin (Jun 15)
- Re: How to clone 1.12 branch source code wsgd (Jun 15)
- Re: How to clone 1.12 branch source code Jeff Morriss (Jun 15)
- Re: How to clone 1.12 branch source code wsgd (Jun 15)
- Re: How to clone 1.12 branch source code Anders Broman (Jun 15)
- Re: How to clone 1.12 branch source code wsgd (Jun 15)
- Re: How to clone 1.12 branch source code Richard Sharpe (Jun 15)
- Re: How to clone 1.12 branch source code Jeff Morriss (Jun 16)
- Re: How to clone 1.12 branch source code Evan Huus (Jun 16)
- Re: How to clone 1.12 branch source code Jeff Morriss (Jun 16)
- Re: How to clone 1.12 branch source code Pascal Quantin (Jun 15)
- Re: How to clone 1.12 branch source code Richard Sharpe (Jun 16)
- Re: How to clone 1.12 branch source code wsgd (Jun 16)
- Re: How to clone 1.12 branch source code Kevin Cox (Jun 16)
- Re: How to clone 1.12 branch source code wsgd (Jun 16)