Changeset View
Changeset View
Standalone View
Standalone View
src/xsprintf/gitsprintf.php
Context not available. | |||||
// that guarantees Git inteprets the string as a ref selector, but it | // that guarantees Git inteprets the string as a ref selector, but it | ||||
// appears that no mechanism exists to allow this. | // appears that no mechanism exists to allow this. | ||||
if (preg_match('(^-)', $value)) { | if (@preg_match('(^-)', $value)) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Git ref selector "%s" is not a valid selector and can not be '. | 'Git ref selector "%s" is not a valid selector and can not be '. | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0