Wireshark-dev: Re: [Wireshark-dev] How to clone 1.12 branch source code
From: wsgd <wsgd@xxxxxxx>
Date: Mon, 16 Jun 2014 22:17:07 +0200
Le 15/06/2014 16:51, Richard Sharpe a écrit :
On Sun, Jun 15, 2014 at 4:31 AM, wsgd <wsgd@xxxxxxx> wrote:
Le 15/06/2014 12:20, Pascal Quantin a écrit :


Le 15 juin 2014 12:16, "wsgd" <wsgd@xxxxxxx> a écrit :
Hello,

I'm want to get (clone) 1.12 branch source code.

I have cloned https://code.wireshark.org/review/wireshark (as specified
into
http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#_install_and_prepare_sources).

I get source code for a version 1.99.
Is it normal ?
Which repository should be cloned to have 1.12 branch source code ?


Thanks,
Olivier

Hi Olivier,

You can checkout master-1.12 branch in your fresh clone with the following
command:
git checkout origin/master-1.12 -b master-1.12

Regards,
Pascal.


It works.
Thanks.

Must be possible to clone directly the good branch, no ?
Why would you want to do that when you can clone the whole thing and
then just check out what you want?

Because :
- I do not anything about git
- I do not not know what is the whole thing
- I do not not know want the whole thing :)
- I only want source code corresponding to the official release 1.12 and be able to upgrade it when a new official release 1.12 is done


Olivier

--
Wireshark Generic Dissector http://wsgd.free.fr