revert(3p/git): Revert merge of git upstream at v2.26.2
This causes cgit to serve error pages, which is undesirable. This reverts commit5229c9b232, reversing changes made tof2b211131f.
This commit is contained in:
parent
6f8fbf4aa4
commit
93ba78d6f4
1006 changed files with 60537 additions and 148724 deletions
4
third_party/git/shell.c
vendored
4
third_party/git/shell.c
vendored
|
|
@ -16,10 +16,10 @@ static int do_generic_cmd(const char *me, char *arg)
|
|||
setup_path();
|
||||
if (!arg || !(arg = sq_dequote(arg)) || *arg == '-')
|
||||
die("bad argument");
|
||||
if (!skip_prefix(me, "git-", &me))
|
||||
if (!starts_with(me, "git-"))
|
||||
die("bad command");
|
||||
|
||||
my_argv[0] = me;
|
||||
my_argv[0] = me + 4;
|
||||
my_argv[1] = arg;
|
||||
my_argv[2] = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue