~yerinalexey/git-walk.ha

Smaller git log, but this time in Hare!
Initial commit

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~yerinalexey/git-walk.ha
read/write
git@git.sr.ht:~yerinalexey/git-walk.ha

You can also use your local clone with git send-email.

#git-walk (Hare edition)

Tiny reimplementation of git-log (+ git-show).

Initially, I've written git-walk in Rust as a joke to play around with libgit2. Since I'm mostly involved with Hare right now, time to change this a bit.

Implementation difficulties:

  • No libgit2 because it's not possible yet to link to C code
  • I have to figure out how to parse git objects myself :D

TODO:

  • Running git-walk on Hare tree doesn't work to the end because of one (seemingly) broken commit, investigate
  • Improve error handling in git:: instead of asserting everything
  • Slowly move out git:: into a separate library
  • Implement write parts (commit at least)

#Compiling

You need at most a recent Hare toolchain.

$ hare build -o git-walk
$ ./git-walk

#Usage

¯\(ツ)

Take a look at ./git-walk -h and not-yet-existent git-walk(1) manual.