tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
git: 2.12.2 -> 2.13.0
Tim Steinbach
8 years ago
ce8662e6
f2e100ca
+8
-8
2 changed files
expand all
collapse all
unified
split
pkgs
applications
version-management
git-and-tools
git
default.nix
ssh-path.patch
+2
-2
pkgs/applications/version-management/git-and-tools/git/default.nix
···
11
11
}:
12
12
13
13
let
14
14
-
version = "2.12.2";
14
14
+
version = "2.13.0";
15
15
svn = subversionClient.override { perlBindings = true; };
16
16
in
17
17
···
20
20
21
21
src = fetchurl {
22
22
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
23
23
-
sha256 = "0jlccxx7l4c76h830y8lhrxr4kqksrxqlnmj3xb8sqbfa0irw6nj";
23
23
+
sha256 = "0n0j36rapw31zb0sabap88ffncv8jg3nwc4miyim64ilyav2mgsb";
24
24
};
25
25
26
26
hardeningDisable = [ "format" ];
+6
-6
pkgs/applications/version-management/git-and-tools/git/ssh-path.patch
···
2
2
index fd7ffe1..20cd992 100644
3
3
--- a/connect.c
4
4
+++ b/connect.c
5
5
-
@@ -768,7 +768,7 @@ struct child_process *git_connect(int fd[2], const char *url,
6
6
-
5
5
+
@@ -768,7 +768,7 @@
6
6
+
7
7
ssh = getenv("GIT_SSH");
8
8
if (!ssh)
9
9
- ssh = "ssh";
10
10
+ ssh = "@ssh@";
11
11
-
12
12
-
ssh_dup = xstrdup(ssh);
13
13
-
base = basename(ssh_dup);
11
11
+
else
12
12
+
handle_ssh_variant(ssh, 0,
13
13
+
&port_option,
14
14
diff --git a/git-gui/lib/remote_add.tcl b/git-gui/lib/remote_add.tcl
15
15
index 50029d0..17b9594 100644
16
16
--- a/git-gui/lib/remote_add.tcl
17
17
+++ b/git-gui/lib/remote_add.tcl
18
18
-
@@ -139,7 +139,7 @@ method _add {} {
18
18
+
@@ -139,7 +139,7 @@
19
19
# Parse the location
20
20
if { [regexp {(?:git\+)?ssh://([^/]+)(/.+)} $location xx host path]
21
21
|| [regexp {([^:][^:]+):(.+)} $location xx host path]} {