worktree -> index -> tree #435
Replies: 1 comment 2 replies
-
Thanks for starting this conversation! Your inability to find anything about the A few things I picked out that I can reference here
My recommendation here is to use what's in From an effort perspective, I wonder why you would want to change to |
Beta Was this translation helpful? Give feedback.
-
Hi @Byron,
Do you already have a rough API (or set of APIs) shape in mind for the worktree -> index -> tree flow? I found #301 and #293 but unless I missed something, they don't really seem focused on this direction.
Context
I'm playing around in my meager spare time with using gitoxide to implement a better version of part of something I built for
$DAY_JOB
a couple of years back using libgit2. My employer is hoping to open-source the whole thing eventually, but of course with companies that tends to take time. My personal hope in the meantime is to carve off little bits of functionality along the way into individually-useful open source libraries.The first of these libraries would be for filtering Git trees, including automatically making a new tree with your worktree changes. The two modes of operation would be:
Beta Was this translation helpful? Give feedback.
All reactions