@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move the fix for Git 2.16.0 from the "Mercurial" part of the code to the "Git" part of the code

Summary: Ref T13050. Oh boy. Both of them run `grep`!

Test Plan: Will push again.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13050

Differential Revision: https://secure.phabricator.com/D18945

+6 -6
+6 -6
src/applications/diffusion/conduit/DiffusionSearchQueryConduitAPIMethod.php
··· 54 54 $limit = $request->getValue('limit'); 55 55 $offset = $request->getValue('offset'); 56 56 57 + // Starting with Git 2.16.0, Git assumes passing an empty argument is 58 + // an error and recommends you pass "." instead. 59 + if (!strlen($path)) { 60 + $path = '.'; 61 + } 62 + 57 63 $results = array(); 58 64 $future = $repository->getLocalCommandFuture( 59 65 // NOTE: --perl-regexp is available only with libpcre compiled in. ··· 94 100 $repository = $drequest->getRepository(); 95 101 $limit = $request->getValue('limit'); 96 102 $offset = $request->getValue('offset'); 97 - 98 - // Starting with Git 2.16.0, Git assumes passing an empty argument is 99 - // an error and recommends you pass "." instead. 100 - if (!strlen($path)) { 101 - $path = '.'; 102 - } 103 103 104 104 $results = array(); 105 105 $future = $repository->getLocalCommandFuture(