gitoxide icon indicating copy to clipboard operation
gitoxide copied to clipboard

`git-testament` uses `gitoxide`

Open Byron opened this issue 3 years ago • 0 comments

Before doing any integration work, check if it's an option since they have no_std support which gitoxide doesn't have and can't have.

Note that it actually invokes git as sub-process, and doesn't use git2 due to some incompatibilities downstream. The latter shouldn't be possible with gitoxide as it's not a C library and multiple different versions can co-exists.

Requires features

  • [x] get worktree dir
  • [x] rev-parse for commit, return hash and commit-time
  • [x] get HEAD symref…
  • [ ] …or run git name-rev --name-only HEAD
  • [x] git describe --long --tags
  • [ ] git status with untracked files, without submodule checks

https://github.com/kinnison/git-testament

Byron avatar Oct 14 '22 02:10 Byron