Giter VIP home page Giter VIP logo

git-playback's People

Contributors

dwijnand avatar liucijus avatar mmozuras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

git-playback's Issues

Pathspec did not match any file(s) known to git

Not sure what the issue is here but this is what I get when running the script:

[milesmatthias]$ git playback Case.js
error: pathspec '748caebf2e63fcb830aaca8c26f02121ae2b4767' did not match any file(s) known to git.

Handle spaces in path to git-playback

When I try to run git-playback from a location that's on a path that contains a space, I recieve the following error:

~/Personal/projects/git-playback/git-playback.sh ReverseRomanNumeral.cs ReverseRomanNumeralTest.cs
cat: /cygdrive/c/Users/bas/Documents/My: No such file or directory
cat: Dropbox/Personal/projects/git-playback/git-playback.js/playback.js: No such file or directory

Note that my home directory is /cygdrive/c/Users/bas/Documents/My Dropbox/. When I move git-playback to a different directory that doesn't contain spaces everything works fine.

Only a small number of lines are rendered

System Information:
OS: Kubuntu 22
CPU: AMD Ryzen 7 3750H
RAM: 16 GB
Browser: Brave Browser (Version 1.52)
Terminal: Konsole

Behaviour:
When opening the html document, only a the first 30 or so lines of code are displayed. If there is a keybind to scroll up and down, it is not in the readme or the help command.

Expected Behaviour:
Preferrably I would like to be able to see the entire file. It isn't longer than 50 lines.
Alternatively, I would like to be able to press a button to scroll down the lines of code.

Blank dark gray screen

On Mac OS X 10.7.3 on both Google Chrome 18.0.1025.168 and Safari 5.1.3, the result of running git-playback[master*]% ./git-playback README.md generates playback.html as a blank dark gray screen.

From the Chrome developer Resources tab, the page appears to have successfully loaded highlight.min.js, jquery.min.js, and monokai.min.css. There are no errors in the javascript console.

This error occurs with every file I have tried to generate a playback.html for.

Javascript Errors (Regexp & jQuery)

Followed instructions in README thusly:

cd ~/Desktop/dotfiles-playback-test
sh /path/to/git-playback.sh bash zsh sh
open playback.html

playback.html opens with blank page and the following JavaScript errors in the console:

SyntaxError: unmatched ) in regular expression playback.html:1:30
SyntaxError: unterminated regular expression literal playback.html:15:544
ReferenceError: jQuery is not defined
playback.html:20:2
    <anonymous> file:///Users/rob/Desktop/dotfiles-playback-test/playback.html:20
ReferenceError: jQuery is not definedplayback.html:20:2
    <anonymous> file:///Users/rob/Desktop/dotfiles-playback-test/playback.html:20

View one file at a time

Nice script dude!

As files become larger it will be harder to see the changes they introduce. Maybe you could make vertical scroll pane to the left or right with the entire source tree and only display one file at a time by default (selecting multiple would require drag-selecting or Cmd/Ctrl-clicking the files).

Blank page + JS errors

This looks interesting, but I'm running into a problem:

I just cloned and "make install"ed git playback, and it seems to run nicely, e.g.:

$ git playback -s 3d3a9f27d0545255e093f38c6ff4789c2d3572da opac/opac-sign.pl

However when I try to view playback.html in Firefox 17.0.1 on Ubuntu 12.10 all I see is a blank page. Firebug reports these errors:

SyntaxError: missing ; before statement
...xt = current + 1; next = total === next t 0 : next; break; case 'prev': next = c...
playback.html (line 9851, col 60)

TypeError: jQuery(...).playback is not a function
...(v.childNodes[u].nodeType==3){w+=v.childNodes[u].nodeValue.length}else{if(v.chil...
playback.html (line 9851)

Line 9851 is the somewhat impenetrable line of JS that starts with " (function(a,b){function G(a){var b=F[a]={};return p.ea" etc...

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.