Explain what "latest libgit2" means better

pygit2 targets the master branch, and "latest" isn't well-defined in
this case, as libgit2's default branch is development.
This commit is contained in:
Carlos Martín Nieto
2013-05-16 10:25:30 +02:00
parent 8c69751d4f
commit 4070c583f1

View File

@@ -6,8 +6,10 @@ How to Install
.. contents:: .. contents::
First you need to install the latest version of libgit2. You can find First you need to install the latest release of libgit2. If you clone
platform-specific instructions to build the library in the libgit2 website: the repository, make sure to use the ``master`` branch. You can find
platform-specific instructions to build the library in the libgit2
website:
http://libgit2.github.com http://libgit2.github.com
@@ -55,7 +57,7 @@ instructions in the libgit2 ``README.md``):
.. code-block:: sh .. code-block:: sh
$ git clone git://github.com/libgit2/libgit2.git $ git clone -b master git://github.com/libgit2/libgit2.git
$ mkdir libgit2/build $ mkdir libgit2/build
$ cd libgit2/build $ cd libgit2/build
$ cmake .. $ cmake ..
@@ -105,7 +107,7 @@ from a bash shell:
.. code-block:: sh .. code-block:: sh
$ export LIBGIT2=C:/Dev/libgit2 $ export LIBGIT2=C:/Dev/libgit2
$ git clone git://github.com/libgit2/libgit2.git $ git clone -b master git://github.com/libgit2/libgit2.git
$ cd libgit2 $ cd libgit2
$ mkdir build $ mkdir build
$ cd build $ cd build