harpoon icon indicating copy to clipboard operation
harpoon copied to clipboard

Stopped working with git-worktree

Open wintermonth2298 opened this issue 10 months ago • 6 comments

Saves only files added from the project root. Even though the key is returned with the correct path (the path to the folder with the branch).

How to reproduce?

  1. Select a branch using git-worktree.
  2. Add an entry to harpoon.
  3. Close nvim
  4. Open nvim and select the desired branch using git-worktree

The recordings will not be saved.

The problem appeared after today's update

wintermonth2298 avatar Apr 04 '24 10:04 wintermonth2298

When did you update? Can you make sure you pull one more time? I added some updates to make it so we save files continuously, not just on closing

ThePrimeagen avatar Apr 04 '24 11:04 ThePrimeagen

I'm on last commit 2e25a13. The previous update was a few days ago.

wintermonth2298 avatar Apr 04 '24 11:04 wintermonth2298

You can test this behaviour by :lcd/cd to any dir in project and adding file to harpoon, then reopen nvim, :cd/lcd same dir and open harpoon.

wintermonth2298 avatar Apr 04 '24 12:04 wintermonth2298

@wintermonth2298 there has been SEVERAL commits since a few days ago. you may want to update. there has been MANY of fixes. i am using harpoon wildly often

ThePrimeagen avatar Apr 04 '24 16:04 ThePrimeagen

Can confirm still not working (I am on the latest version)

floork avatar Apr 05 '24 12:04 floork

I made an attempt of fixing this issue in #557. It'll break one of your testies, but maybe it can be helpful to solve this issue!?

kimabrandt-flx avatar Apr 06 '24 02:04 kimabrandt-flx