Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git diffs with context #75

Closed
arestov opened this issue Sep 18, 2015 · 1 comment
Closed

git diffs with context #75

arestov opened this issue Sep 18, 2015 · 1 comment

Comments

@arestov
Copy link

arestov commented Sep 18, 2015

Could you please add support for git diffs with context?

git diff -p source_branch changed_branch index.html > sample.patch
will procuce following diff

diff --git a/index.html b/index.html
index d6485cc..71d2d71 100755
--- a/index.html
+++ b/index.html
@@ -3,14 +3,32 @@
   <head>
    <meta charset="utf-8">
    <meta name="google" content="notranslate" />
-   <title>Seesu</title>
+   <title>Seesu online</title>
+   <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link rel="shortcut icon" id="dynamic-favicon"  href="icons/icon16.png"/>
    <link rel="stylesheet" type="text/css" media="screen" href="dist/combined.css">
    <meta name="keywords"  content="seesu, seesu for iphone, seesu for android, seesu for mobile, seesu online, last.fm, vk.com music, vkontakte.ru and last.fm" >
    <meta name="description" content="Seesu is amazing web application for searching and listening music. Hot last.fm acceleration"  >
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport"  content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" />
+   
+
+   <link rel="image_src" href="http://seesu.me/i/page-poster.png"/>
+   <meta property="og:title" content="Seesu Music (online version)" />
+   <meta property="og:description" content="Seesu is a small mashup application which combines last.fm catalog, vk.com mp3 and soundcloud mp3 libraries to lets you listen to music and meet new people." />
+   <meta property="og:image" content="http://seesu.me/i/page-poster.png" />
    <script data-main="loader" src="js-sep/require-2.1.19.min.js"></script>
+   <script type="text/javascript">
+   /*<![CDATA[*/
+   var openstat = { counter: 2101409, next: openstat };
+   (function(){
+       var opst = document.createElement('script');
+           opst.setAttribute('async', 'true');
+           opst.src = '//openstat.net/cnt.js';
+       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(opst, s);
+   })();
+   /* ]]>*/
+   </script>

 <!--

Currently jsdiff cant parse header and context lines

@kpdecker
Copy link
Owner

I think this is fixed by #76. Closing for now but please let me know if you are still seeing issuing under the latest version and I'll reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants