File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change
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").
Original file line number Diff line number Diff line change
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").
Original file line number Diff line number Diff line change @@ -54,19 +54,21 @@ Documentation for older releases are available here:
54
54
link:RelNotes/2.6.1.txt[2.6.1],
55
55
link:RelNotes/2.6.0.txt[2.6].
56
56
57
- * link:v2.5.5 /git.html[documentation for release 2.5.5 ]
57
+ * link:v2.5.6 /git.html[documentation for release 2.5.6 ]
58
58
59
59
* release notes for
60
+ link:RelNotes/2.5.6.txt[2.5.6],
60
61
link:RelNotes/2.5.5.txt[2.5.5],
61
62
link:RelNotes/2.5.4.txt[2.5.4],
62
63
link:RelNotes/2.5.3.txt[2.5.3],
63
64
link:RelNotes/2.5.2.txt[2.5.2],
64
65
link:RelNotes/2.5.1.txt[2.5.1],
65
66
link:RelNotes/2.5.0.txt[2.5].
66
67
67
- * link:v2.4.11 /git.html[documentation for release 2.4.11 ]
68
+ * link:v2.4.12 /git.html[documentation for release 2.4.12 ]
68
69
69
70
* release notes for
71
+ link:RelNotes/2.4.12.txt[2.4.12],
70
72
link:RelNotes/2.4.11.txt[2.4.11],
71
73
link:RelNotes/2.4.10.txt[2.4.10],
72
74
link:RelNotes/2.4.9.txt[2.4.9],
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ static int do_generic_cmd(const char *me, char *arg)
13
13
const char * my_argv [4 ];
14
14
15
15
setup_path ();
16
- if (!arg || !(arg = sq_dequote (arg )))
16
+ if (!arg || !(arg = sq_dequote (arg )) || * arg == '-' )
17
17
die ("bad argument" );
18
18
if (!starts_with (me , "git-" ))
19
19
die ("bad command" );
You can’t perform that action at this time.
0 commit comments