mirror of
https://github.com/PGYER/codefever.git
synced 2026-06-04 08:37:42 +08:00
fix(Git Command): add special chars support for path (github #53)
Github #53
This commit is contained in:
@@ -1470,6 +1470,9 @@ class Repository_model extends CI_Model
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
$branch = Command::wrapArgument($branch);
|
||||
$filePath = Command::wrapArgument($filePath);
|
||||
|
||||
$log = $this->execCommand($rKey, $uKey, GIT_COMMAND_QUERY, $command);
|
||||
$log = rtrim($log, Helper::getDelimiter() . "\n");
|
||||
$log = $this->_logStringToArray($log);
|
||||
|
||||
Reference in New Issue
Block a user