Hello,
recent versions of git changed behaviour for --depth 1, fetching only
one branch. You have to give --no-single-branch as parameter, see:
http://www.kamailio.org/wiki/install/4.0.x/git#getting_sources_from_git
Cheers,
Daniel
On 6/18/13 9:29 PM, John Doe wrote:
Hi all, I am trying to install the latest version using git (new to git) and after
running "git checkout -b 4.0 origin/4.0" I got these messages:
[root@test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0
fatal: Cannot update paths and switch to branch '4.0' at the same time.
Did you intend to checkout 'origin/4.0' which can not be resolved as commit?
[root@test kamailio-4.0.2]#
These were the commands I entered in order:
[root@test kamailio-4.0.2]# mkdir -p /usr/local/src/kamailio-4.0.2
[root@test kamailio-4.0.2]# cd /usr/local/src/kamailio-4.0.2/
[root@test kamailio-4.0.2]# git clone --depth 1
git://git.sip-router.org/sip-router kamailio
[root@test kamailio-4.0.2]# cd kamailio
[root@test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0 --> this is were it
fails
What does it mean, how should I proceed?
I appreciate any advise, thank you
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* http://asipto.com/u/katu *
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users