aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/GitCommandBinary.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-04-17 22:02:27 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-04-17 22:02:27 +0200
commit282f57032bbdd426cbdb4e03ad7379e3825befe6 (patch)
tree7786a732827dad47f919741be5366c61d033c195 /src/phorkie/GitCommandBinary.php
parent2cc82d20efa723abe9cf44f9286cb65425919e0a (diff)
downloadphorkie-282f57032bbdd426cbdb4e03ad7379e3825befe6.tar.gz
phorkie-282f57032bbdd426cbdb4e03ad7379e3825befe6.zip
fix historic binary file downloads
Diffstat (limited to 'src/phorkie/GitCommandBinary.php')
-rw-r--r--src/phorkie/GitCommandBinary.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/phorkie/GitCommandBinary.php b/src/phorkie/GitCommandBinary.php
new file mode 100644
index 0000000..13a31db
--- /dev/null
+++ b/src/phorkie/GitCommandBinary.php
@@ -0,0 +1,15 @@
+<?php
+namespace phorkie;
+
+class GitCommandBinary extends \VersionControl_Git_Util_Command
+{
+ /**
+ * Do not strip anything, we're accessing binary files
+ */
+ public function stripEscapeSequence($string)
+ {
+ return $string;
+ }
+}
+
+?> \ No newline at end of file