Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oxidize gitu #1315

Open
14 of 23 tasks
Byron opened this issue Mar 11, 2024 · 0 comments
Open
14 of 23 tasks

Oxidize gitu #1315

Byron opened this issue Mar 11, 2024 · 0 comments
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide

Comments

@Byron
Copy link
Owner

Byron commented Mar 11, 2024

Required Features

  • revparse-single
  • revwalk from given OID and head (probably, question is if the traversal algorithm differs in unforeseen ways)
  • list references, peel to commit, shorthand, classification, head, local branches
  • commit summary/basic message decoding
  • find objects and decode them
  • status
    • untracked files
    • conflicted, modified, generally index-to-worktree
    • tree-to-index
    • provide facilities to make this easy from status information.
  • diff tree to tree
    • easy access to line diffs
  • diffing with access to each hunk
    • obtain diff bases exactly like Git would (filters, diff-filters)
  • remote branch names
    • branch upstream name
  • ahead-behind information
  • state (i.e. MERGING, REBASING
    • advanced rebase state
    • advanced merge state
    • Note that gitu accesses some Git-files directly, as such functionality also doesn't exist in git2
  • repository mutation
    • add and remove files to index (stage, unstage)
    • delete and create branches
    • rebase
    • reset & checkout

The corresponding issue in the gitu repository is here: altsem/gitu#12

@Byron Byron added this to Oxidization in Collaboration Board Mar 11, 2024
@Byron Byron added the C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide
Projects
Development

No branches or pull requests

1 participant