Hi,
I have written a tiny (unregistered) package to browse the history of a
file in a git repo using a widget in IJulia.
This was mainly a learning exercise (very far away from the kind of things
I usually do with Julia), but I thought it might be useful for somebody:
Pkg.clone("https://github.com/dpsanders/RepoHistoryBrowser.jl")
then
using HistoryBrowser
browse_history(directory, filename)
or browse_history(filename).
It works best for small files. It would be nice to be able to pick out a
certain function and look at just its changes,
but that seems to be much more work. Does anybody have a good suggestion as
to how to pick out the source code of a
function with a given name? It seems to require counting `end`s etc., which
would basically mean parsing the source. Is there
something in JuliaParser.jl that would allow this?
It currently has minimal error checking and no tests.
Best,
David.