Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15393966
D19010.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
781 B
Referenced Files
None
Subscribers
None
D19010.diff
View Options
diff --git a/src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php b/src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
--- a/src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
+++ b/src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
@@ -37,7 +37,11 @@
$commit = $request->getValue('commit');
$repository = $drequest->getRepository();
- // http://comments.gmane.org/gmane.comp.version-control.git/197735
+ // Recent versions of Git don't work if you pass the empty string, and
+ // require "." to list everything.
+ if (!strlen($path)) {
+ $path = '.';
+ }
$future = $repository->getLocalCommandFuture(
'ls-tree --name-only -r -z %s -- %s',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 11:18 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7388747
Default Alt Text
D19010.diff (781 B)
Attached To
Mode
D19010: Fix another Git 2.16.0 CLI compatibility issue
Attached
Detach File
Event Timeline
Log In to Comment