Skip to content

Commit fc92b08

Browse files
committed
Merge branch 'maint-2.9' into maint-2.10
2 parents c3808ca + d61226c commit fc92b08

File tree

8 files changed

+83
-7
lines changed

8 files changed

+83
-7
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/RelNotes/2.9.4.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,11 @@ Fixes since v2.9.3
8080
the file descriptor still open. Open tempfile with O_CLOEXEC flag
8181
to avoid this (on Windows, this is mapped to O_NOINHERIT).
8282

83+
* "git-shell" rejects a request to serve a repository whose name
84+
begins with a dash, which makes it no longer possible to get it
85+
confused into spawning service programs like "git-upload-pack" with
86+
an option like "--help", which in turn would spawn an interactive
87+
pager, instead of working with the repository user asked to access
88+
(i.e. the one whose name is "--help").
89+
8390
Also contains minor documentation updates and code clean-ups.

Documentation/git.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,34 +50,39 @@ Documentation for older releases are available here:
5050
link:RelNotes/2.10.1.txt[2.10.1],
5151
link:RelNotes/2.10.0.txt[2.10].
5252

53-
* link:v2.9.3/git.html[documentation for release 2.9.3]
53+
* link:v2.9.4/git.html[documentation for release 2.9.4]
5454

5555
* release notes for
56+
link:RelNotes/2.9.4.txt[2.9.4],
5657
link:RelNotes/2.9.3.txt[2.9.3],
5758
link:RelNotes/2.9.2.txt[2.9.2],
5859
link:RelNotes/2.9.1.txt[2.9.1],
5960
link:RelNotes/2.9.0.txt[2.9].
6061

61-
* link:v2.8.4/git.html[documentation for release 2.8.4]
62+
* link:v2.8.5/git.html[documentation for release 2.8.5]
6263

6364
* release notes for
65+
link:RelNotes/2.8.5.txt[2.8.5],
6466
link:RelNotes/2.8.4.txt[2.8.4],
6567
link:RelNotes/2.8.3.txt[2.8.3],
6668
link:RelNotes/2.8.2.txt[2.8.2],
6769
link:RelNotes/2.8.1.txt[2.8.1],
6870
link:RelNotes/2.8.0.txt[2.8].
6971

70-
* link:v2.7.3/git.html[documentation for release 2.7.3]
72+
* link:v2.7.5/git.html[documentation for release 2.7.5]
7173

7274
* release notes for
75+
link:RelNotes/2.7.5.txt[2.7.5],
76+
link:RelNotes/2.7.4.txt[2.7.4],
7377
link:RelNotes/2.7.3.txt[2.7.3],
7478
link:RelNotes/2.7.2.txt[2.7.2],
7579
link:RelNotes/2.7.1.txt[2.7.1],
7680
link:RelNotes/2.7.0.txt[2.7].
7781

78-
* link:v2.6.6/git.html[documentation for release 2.6.6]
82+
* link:v2.6.7/git.html[documentation for release 2.6.7]
7983

8084
* release notes for
85+
link:RelNotes/2.6.7.txt[2.6.7],
8186
link:RelNotes/2.6.6.txt[2.6.6],
8287
link:RelNotes/2.6.5.txt[2.6.5],
8388
link:RelNotes/2.6.4.txt[2.6.4],
@@ -86,19 +91,21 @@ Documentation for older releases are available here:
8691
link:RelNotes/2.6.1.txt[2.6.1],
8792
link:RelNotes/2.6.0.txt[2.6].
8893

89-
* link:v2.5.5/git.html[documentation for release 2.5.5]
94+
* link:v2.5.6/git.html[documentation for release 2.5.6]
9095

9196
* release notes for
97+
link:RelNotes/2.5.6.txt[2.5.6],
9298
link:RelNotes/2.5.5.txt[2.5.5],
9399
link:RelNotes/2.5.4.txt[2.5.4],
94100
link:RelNotes/2.5.3.txt[2.5.3],
95101
link:RelNotes/2.5.2.txt[2.5.2],
96102
link:RelNotes/2.5.1.txt[2.5.1],
97103
link:RelNotes/2.5.0.txt[2.5].
98104

99-
* link:v2.4.11/git.html[documentation for release 2.4.11]
105+
* link:v2.4.12/git.html[documentation for release 2.4.12]
100106

101107
* release notes for
108+
link:RelNotes/2.4.12.txt[2.4.12],
102109
link:RelNotes/2.4.11.txt[2.4.11],
103110
link:RelNotes/2.4.10.txt[2.4.10],
104111
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)