Skip to content

Commit dc58c85

Browse files
committed
Merge branch 'maint-2.6' into maint-2.7
2 parents 50b4a78 + 70fcaef commit dc58c85

File tree

5 files changed

+43
-4
lines changed

5 files changed

+43
-4
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/git.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ Documentation for older releases are available here:
5151
link:RelNotes/2.7.1.txt[2.7.1],
5252
link:RelNotes/2.7.0.txt[2.7].
5353

54-
* link:v2.6.6/git.html[documentation for release 2.6.6]
54+
* link:v2.6.7/git.html[documentation for release 2.6.7]
5555

5656
* release notes for
57+
link:RelNotes/2.6.7.txt[2.6.7],
5758
link:RelNotes/2.6.6.txt[2.6.6],
5859
link:RelNotes/2.6.5.txt[2.6.5],
5960
link:RelNotes/2.6.4.txt[2.6.4],
@@ -62,19 +63,21 @@ Documentation for older releases are available here:
6263
link:RelNotes/2.6.1.txt[2.6.1],
6364
link:RelNotes/2.6.0.txt[2.6].
6465

65-
* link:v2.5.5/git.html[documentation for release 2.5.5]
66+
* link:v2.5.6/git.html[documentation for release 2.5.6]
6667

6768
* release notes for
69+
link:RelNotes/2.5.6.txt[2.5.6],
6870
link:RelNotes/2.5.5.txt[2.5.5],
6971
link:RelNotes/2.5.4.txt[2.5.4],
7072
link:RelNotes/2.5.3.txt[2.5.3],
7173
link:RelNotes/2.5.2.txt[2.5.2],
7274
link:RelNotes/2.5.1.txt[2.5.1],
7375
link:RelNotes/2.5.0.txt[2.5].
7476

75-
* link:v2.4.11/git.html[documentation for release 2.4.11]
77+
* link:v2.4.12/git.html[documentation for release 2.4.12]
7678

7779
* release notes for
80+
link:RelNotes/2.4.12.txt[2.4.12],
7881
link:RelNotes/2.4.11.txt[2.4.11],
7982
link:RelNotes/2.4.10.txt[2.4.10],
8083
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)