File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 @@ -53,9 +53,10 @@ Documentation for older releases are available here:
5353 link:RelNotes/2.5.1.txt[2.5.1],
5454 link:RelNotes/2.5.0.txt[2.5].
5555
56- * link:v2.4.11 /git.html[documentation for release 2.4.11 ]
56+ * link:v2.4.12 /git.html[documentation for release 2.4.12 ]
5757
5858* release notes for
59+ link:RelNotes/2.4.12.txt[2.4.12],
5960 link:RelNotes/2.4.11.txt[2.4.11],
6061 link:RelNotes/2.4.10.txt[2.4.10],
6162 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)
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" );
You can’t perform that action at this time.
0 commit comments