Patchwork git: update to v2.0.1

login
register
mail settings
Submitter Nicolas Dechesne
Date July 10, 2014, 5:32 p.m.
Message ID <1405013524-11228-1-git-send-email-nicolas.dechesne@linaro.org>
Download mbox | patch
Permalink /patch/75325/
State Accepted
Commit 2e822bf1193332ed0ce8c7a0fdbf0aa9cac3ea40
Headers show

Comments

Nicolas Dechesne - July 10, 2014, 5:32 p.m.
Also fetch source code from kernel.org. As per the Git release announcement, see
[1], Git source tarball are now located back on kernel.org, at [2].

[1] https://lkml.org/lkml/2014/6/25/760
[2] https://www.kernel.org/pub/software/scm/git/

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/recipes-devtools/git/git.inc                        | 1 +
 meta/recipes-devtools/git/{git_1.9.0.bb => git_2.0.1.bb} | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/git/{git_1.9.0.bb => git_2.0.1.bb} (52%)
Ross Burton - July 10, 2014, 7:37 p.m.
On 10 July 2014 18:32, Nicolas Dechesne <nicolas.dechesne@linaro.org> wrote:
> Also fetch source code from kernel.org. As per the Git release announcement, see
> [1], Git source tarball are now located back on kernel.org, at [2].

Were there any big changes in 2.0 that we should be aware of, or was
that just an arbitrary version bump?

Ross
Nicolas Dechesne - July 11, 2014, 5:44 a.m.
On Thu, Jul 10, 2014 at 9:37 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 10 July 2014 18:32, Nicolas Dechesne <nicolas.dechesne@linaro.org> wrote:
>> Also fetch source code from kernel.org. As per the Git release announcement, see
>> [1], Git source tarball are now located back on kernel.org, at [2].
>
> Were there any big changes in 2.0 that we should be aware of, or was
> that just an arbitrary version bump?

I think the most notable change is about git push when no branch is
specified. the default changed from 'matching' to 'simple'. it should
not come as a surprise since it's been announced for some time now.
and in fact it is a much better default anyways..  other than that,
it's just business/improvements as usual. see
http://blogs.atlassian.com/2014/06/happened-git-2-0-full-goodies/

Patch

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 4e0527c..7633577 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -5,6 +5,7 @@  DEPENDS = "openssl curl zlib expat"
 
 PROVIDES_append_class-native = " git-replacement-native"
 
+SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz"
 S = "${WORKDIR}/git-${PV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
diff --git a/meta/recipes-devtools/git/git_1.9.0.bb b/meta/recipes-devtools/git/git_2.0.1.bb
similarity index 52%
rename from meta/recipes-devtools/git/git_1.9.0.bb
rename to meta/recipes-devtools/git/git_2.0.1.bb
index 4eb6c99..dbf32e1 100644
--- a/meta/recipes-devtools/git/git_1.9.0.bb
+++ b/meta/recipes-devtools/git/git_2.0.1.bb
@@ -1,9 +1,7 @@ 
 require git.inc
 
-SRC_URI = "http://git-core.googlecode.com/files/git-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "e16c14b27c644b8e0dd72bdb5ff77450"
-SRC_URI[sha256sum] = "de3097fdc36d624ea6cf4bb853402fde781acdb860f12152c5eb879777389882"
+SRC_URI[md5sum] = "981f5937840716cb563be1cc6292c8d7"
+SRC_URI[sha256sum] = "02609a06fb40db1f6a968867c0e82bcb959b85902747830de0fda53228712daf"
 
 EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no ac_cv_c_c99_format=yes \
                  ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \