git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42376 from dtzWill/update/git-2.18.0

git: 2.17.1 -> 2.18.0

commit2624f9079617df6b1fffda8c10f6a7a35068ecdc authorTim Steinbach <NeQuissimus@users.noreply.github.com> dateSat 23 Jun 2018, 00:00 (8 years ago) parent37aab4c26f24fe
2 files changed+13−16
pkgs/applications/version-management/git-and-tools/git/default.nix+13−3 pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patch−13
pkgs/applications/version-management/git-and-tools/git/default.nix+13−3
@@ -18,7 +18,7 @@ assert sendEmailSupport -> perlSupport;
1818assert svnSupport -> perlSupport;
1919
2020let
21− version = "2.17.1";
21+ version = "2.18.0";
2222 svn = subversionClient.override { perlBindings = perlSupport; };
2323in
2424
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727
2828 src = fetchurl {
2929 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
30− sha256 = "0pm6bdnrrm165k3krnazxcxadifk2gqi30awlbcf9fism1x6w4vr";
30+ sha256 = "14hfwfkrci829a9316hnvkglnqqw1p03cw9k56p4fcb078wbwh4b";
3131 };
3232
3333 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
@@ -40,7 +40,6 @@ stdenv.mkDerivation {
4040
4141 patches = [
4242 ./docbook2texi.patch
43− ./symlinks-in-bin.patch
4443 ./git-sh-i18n.patch
4544 ./ssh-path.patch
4645 ./git-send-email-honor-PATH.patch
@@ -277,10 +276,21 @@ EOF
277276
278277 # XXX: I failed to understand why this one fails.
279278 # Could someone try to re-enable it on the next release ?
279+ # Tested to fail: 2.18.0
280280 disable_test t1700-split-index "null sha1"
281+
282+ # Tested to fail: 2.18.0
283+ disable_test t7005-editor "editor with a space"
284+ disable_test t7005-editor "core.editor with a space"
285+
286+ # Tested to fail: 2.18.0
287+ disable_test t9902-completion "sourcing the completion script clears cached --options"
281288 '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
282289 # Test fails (as of 2.17.0, musl 1.1.19)
283290 disable_test t3900-i18n-commit
291+ # Fails largely due to assumptions about BOM
292+ # Tested to fail: 2.18.0
293+ disable_test t0028-working-tree-encoding
284294 '';
285295
286296
pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patchdeleted−13
@@ -1,13 +0,0 @@
1−diff --git a/Makefile b/Makefile
2−--- a/Makefile
3−+++ b/Makefile
4−@@ -2609,8 +2609,7 @@
5− { test "$$bindir/" = "$$execdir/" || \
6− for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
7− $(RM) "$$execdir/$$p" && \
8−- test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
9−- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
10−+ ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
11− cp "$$bindir/$$p" "$$execdir/$$p" || exit; \
12− done; \
13− } && \