Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: Tidy up git integration #29

Closedjuliusmarminge opened this issue 1 comment
juliusmarmingecommented

Currently, when in "Local" mode, the git branch will be the one you're checked out on, not the branch that the thread used without any indication. this is confusing if you checkout some other branch then come back to the thread to send some follow up and it gets sent on a different branch

Image

should be:

  • store gitBranch in the thread

  • if mode === "local" && currentlyCheckedOutBranch !== thread.gitBranch, show an indicator of some form

  • before sending the next message, try checking out that branch? with helper actions to stash etc if there are changes

  • thread.gitBranch should be mutable, as i might start a thread on main then checkout a feature branch.

  1. maria-rcks added labelsenhancement

  2. The git integration has been substantially redesigned since this broad cleanup ticket was opened, including branch/worktree metadata and the current source-control actions. The remaining bullets no longer form a coherent actionable change.

    This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.

  3. juliusmarminge closed this

Sign in to join this conversation.