Skip to content

Commit c93ab42

Browse files
committed
Merge branch 'maint-2.8' into maint-2.9
2 parents 0202c41 + cd08873 commit c93ab42

File tree

7 files changed

+74
-6
lines changed

7 files changed

+74
-6
lines changed

Documentation/RelNotes/2.4.12.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Git v2.4.12 Release Notes
2+
=========================
3+
4+
Fixes since v2.4.11
5+
-------------------
6+
7+
* "git-shell" rejects a request to serve a repository whose name
8+
begins with a dash, which makes it no longer possible to get it
9+
confused into spawning service programs like "git-upload-pack" with
10+
an option like "--help", which in turn would spawn an interactive
11+
pager, instead of working with the repository user asked to access
12+
(i.e. the one whose name is "--help").

Documentation/RelNotes/2.5.6.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Git v2.5.6 Release Notes
2+
========================
3+
4+
Fixes since v2.5.5
5+
------------------
6+
7+
* "git-shell" rejects a request to serve a repository whose name
8+
begins with a dash, which makes it no longer possible to get it
9+
confused into spawning service programs like "git-upload-pack" with
10+
an option like "--help", which in turn would spawn an interactive
11+
pager, instead of working with the repository user asked to access
12+
(i.e. the one whose name is "--help").

Documentation/RelNotes/2.6.7.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Git v2.6.7 Release Notes
2+
========================
3+
4+
Fixes since v2.6.6
5+
------------------
6+
7+
* "git-shell" rejects a request to serve a repository whose name
8+
begins with a dash, which makes it no longer possible to get it
9+
confused into spawning service programs like "git-upload-pack" with
10+
an option like "--help", which in turn would spawn an interactive
11+
pager, instead of working with the repository user asked to access
12+
(i.e. the one whose name is "--help").

Documentation/RelNotes/2.7.5.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Git v2.7.5 Release Notes
2+
========================
3+
4+
Fixes since v2.7.4
5+
------------------
6+
7+
* "git-shell" rejects a request to serve a repository whose name
8+
begins with a dash, which makes it no longer possible to get it
9+
confused into spawning service programs like "git-upload-pack" with
10+
an option like "--help", which in turn would spawn an interactive
11+
pager, instead of working with the repository user asked to access
12+
(i.e. the one whose name is "--help").
13+
14+
Also contains a few fixes backported from later development tracks.

Documentation/RelNotes/2.8.5.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Git v2.8.5 Release Notes
2+
========================
3+
4+
Fixes since v2.8.4
5+
------------------
6+
7+
* "git-shell" rejects a request to serve a repository whose name
8+
begins with a dash, which makes it no longer possible to get it
9+
confused into spawning service programs like "git-upload-pack" with
10+
an option like "--help", which in turn would spawn an interactive
11+
pager, instead of working with the repository user asked to access
12+
(i.e. the one whose name is "--help").

Documentation/git.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,30 @@ Documentation for older releases are available here:
5151
link:RelNotes/2.9.1.txt[2.9.1],
5252
link:RelNotes/2.9.0.txt[2.9].
5353

54-
* link:v2.8.4/git.html[documentation for release 2.8.4]
54+
* link:v2.8.5/git.html[documentation for release 2.8.5]
5555

5656
* release notes for
57+
link:RelNotes/2.8.5.txt[2.8.5],
5758
link:RelNotes/2.8.4.txt[2.8.4],
5859
link:RelNotes/2.8.3.txt[2.8.3],
5960
link:RelNotes/2.8.2.txt[2.8.2],
6061
link:RelNotes/2.8.1.txt[2.8.1],
6162
link:RelNotes/2.8.0.txt[2.8].
6263

63-
* link:v2.7.3/git.html[documentation for release 2.7.3]
64+
* link:v2.7.5/git.html[documentation for release 2.7.5]
6465

6566
* release notes for
67+
link:RelNotes/2.7.5.txt[2.7.5],
68+
link:RelNotes/2.7.4.txt[2.7.4],
6669
link:RelNotes/2.7.3.txt[2.7.3],
6770
link:RelNotes/2.7.2.txt[2.7.2],
6871
link:RelNotes/2.7.1.txt[2.7.1],
6972
link:RelNotes/2.7.0.txt[2.7].
7073

71-
* link:v2.6.6/git.html[documentation for release 2.6.6]
74+
* link:v2.6.7/git.html[documentation for release 2.6.7]
7275

7376
* release notes for
77+
link:RelNotes/2.6.7.txt[2.6.7],
7478
link:RelNotes/2.6.6.txt[2.6.6],
7579
link:RelNotes/2.6.5.txt[2.6.5],
7680
link:RelNotes/2.6.4.txt[2.6.4],
@@ -79,19 +83,21 @@ Documentation for older releases are available here:
7983
link:RelNotes/2.6.1.txt[2.6.1],
8084
link:RelNotes/2.6.0.txt[2.6].
8185

82-
* link:v2.5.5/git.html[documentation for release 2.5.5]
86+
* link:v2.5.6/git.html[documentation for release 2.5.6]
8387

8488
* release notes for
89+
link:RelNotes/2.5.6.txt[2.5.6],
8590
link:RelNotes/2.5.5.txt[2.5.5],
8691
link:RelNotes/2.5.4.txt[2.5.4],
8792
link:RelNotes/2.5.3.txt[2.5.3],
8893
link:RelNotes/2.5.2.txt[2.5.2],
8994
link:RelNotes/2.5.1.txt[2.5.1],
9095
link:RelNotes/2.5.0.txt[2.5].
9196

92-
* link:v2.4.11/git.html[documentation for release 2.4.11]
97+
* link:v2.4.12/git.html[documentation for release 2.4.12]
9398

9499
* release notes for
100+
link:RelNotes/2.4.12.txt[2.4.12],
95101
link:RelNotes/2.4.11.txt[2.4.11],
96102
link:RelNotes/2.4.10.txt[2.4.10],
97103
link:RelNotes/2.4.9.txt[2.4.9],

shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ static int do_generic_cmd(const char *me, char *arg)
1313
const char *my_argv[4];
1414

1515
setup_path();
16-
if (!arg || !(arg = sq_dequote(arg)))
16+
if (!arg || !(arg = sq_dequote(arg)) || *arg == '-')
1717
die("bad argument");
1818
if (!starts_with(me, "git-"))
1919
die("bad command");

0 commit comments

Comments
 (0)