-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Enable upstream tracking #32
Commits on Sep 15, 2024
-
feat: Set --track when creating worktree, if there is an upstream
Currently, the user experience when creating worktrees that track remote upstreams are not straight forward. This patch improves it by allowing the user to pass any ref to the --track option of git.
Configuration menu - View commit details
-
Copy full SHA for 46cd191 - Browse repository at this point
Copy the full SHA 46cd191View commit details -
feat: Enable user to get "out" of a worktree
This is especially useful when creating or deleting a worktree, to avoid deleting errors if the user is within the to-be deleted worktree or unintended nested paths when creating.
Configuration menu - View commit details
-
Copy full SHA for 73e64c9 - Browse repository at this point
Copy the full SHA 73e64c9View commit details -
fix: Rename create_worktree to telescope_create_worktree
Follow the same naming convention of the main picker.
Configuration menu - View commit details
-
Copy full SHA for 4b2854b - Browse repository at this point
Copy the full SHA 4b2854bView commit details -
fix: Add telescope_create_worktree mappings from the worktree picker
This means that a user can create a worktree when there is none, so allow for an empty worktree list by not returning early if #results == 0.
Configuration menu - View commit details
-
Copy full SHA for 0092aa5 - Browse repository at this point
Copy the full SHA 0092aa5View commit details -
fix: Use non conflicting keymap for delete_worktree
Other pickers already use <c-d> for scrolling preview and telescope-file-browser.nvim use <m-d> for deleting files, so use that for consistency.
Configuration menu - View commit details
-
Copy full SHA for a5b27a2 - Browse repository at this point
Copy the full SHA a5b27a2View commit details
Commits on Sep 19, 2024
-
fix: Use refname:short as format in Git.has_branch
This corrects the output and make unnecessary to make use of :gsub and :trim.
Configuration menu - View commit details
-
Copy full SHA for 94b6b09 - Browse repository at this point
Copy the full SHA 94b6b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 409a885 - Browse repository at this point
Copy the full SHA 409a885View commit details -
fix: Disambiguate remote branches
Currently, if the user chooses a remote branch to checkout, it will be created locally with the same name causing it to produce an ambiguous ref which git won't be able to use as upstream to track. This defaults the new local branch to be prefixed with "local/".
Configuration menu - View commit details
-
Copy full SHA for 707f98e - Browse repository at this point
Copy the full SHA 707f98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a45a865 - Browse repository at this point
Copy the full SHA a45a865View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe4c077 - Browse repository at this point
Copy the full SHA fe4c077View commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 314e334 - Browse repository at this point
Copy the full SHA 314e334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f6da26 - Browse repository at this point
Copy the full SHA 0f6da26View commit details