redrabbit / git.limo

A Git source code management tool powered by Elixir with easy installation & high extensibility.
https://git.limo
MIT License
497 stars 42 forks source link

Add Git helper modules to GitGud app. #23

Closed redrabbit closed 6 years ago

redrabbit commented 6 years ago

Currently, following modules use GitRekt.Git internally:

Instead of having each module implementing its own Git logic, we should have an unified way of performing Git related commands...

Basically, a bunch of helper modules such as GitReference, GitCommit, GitTag, GitTree, etc. GitGud.Repo should provide functions such as git_head/1, git_references/2, git_tags/2, etc.