diff --git a/Info.plist b/Info.plist
index 5e6e411..f2a937b 100644
--- a/Info.plist
+++ b/Info.plist
@@ -8,6 +8,16 @@
${PRODUCT_NAME}
CFBundleDocumentTypes
+
+ CFBundleTypeExtensions
+
+ *
+
+ CFBundleTypeRole
+ None
+ CFBundleTypeName
+ Standard folder
+
CFBundleTypeExtensions
diff --git a/html/lib/diffHighlighter.js b/html/lib/diffHighlighter.js
index fbc32a8..0ced30f 100644
--- a/html/lib/diffHighlighter.js
+++ b/html/lib/diffHighlighter.js
@@ -203,7 +203,7 @@ var highlightDiff = function(diff, element, callbacks) {
header = false;
}
- if (m = l.match(/@@ \-([0-9]+),\d+ \+(\d+),\d+ @@/))
+ if (m = l.match(/@@ \-([0-9]+),?\d* \+(\d+),?\d* @@/))
{
hunk_start_line_1 = parseInt(m[1]) - 1;
hunk_start_line_2 = parseInt(m[2]) - 1;
@@ -214,7 +214,7 @@ var highlightDiff = function(diff, element, callbacks) {
} else if (firstChar == " ") {
line1 += ++hunk_start_line_1 + "\n";
line2 += ++hunk_start_line_2 + "\n";
- diffContent += l + "\n";
+ diffContent += "" + l + "
";
}
}
diff --git a/html/views/commit/commit.css b/html/views/commit/commit.css
index 18d6a2e..268109d 100644
--- a/html/views/commit/commit.css
+++ b/html/views/commit/commit.css
@@ -61,7 +61,6 @@ table.diff {
}
.diff a.stagebutton {
- display: block;
width: 40px;
padding: 0 2px 0 2px;
margin-bottom: 4px;
@@ -77,7 +76,6 @@ table.diff {
text-align: center;
-webkit-border-radius: 2px;
- float: left;
}
#multiselect {
@@ -94,4 +92,4 @@ table.diff {
border: 5px solid #EEE;
margin: -5px;
padding-left: 20px;
-}
\ No newline at end of file
+}