- Don't allow to skip the cache
- Only have "none" post commit action
- Consolidate post commit logic
- I ended up keeping the `Uri | null` return type for the `clone` API. It's just too useful, and there's no reason why we couldn't pass it back if the user didn't decide to open the clone and reload the window.
* Improve layering for git model
- Git clone doesn't belong in the model, removed it
- All the extra repo picking didn't seem to fit into `Git` though, as that is really about git operations
- Added a `CloneUtils` namespace for all the clone stuff to live.
* Update extensions/git/src/clone.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* CloneManager class
* public/private
* throw err when choosing already checked out branch
* fix two separate worktree error handling
* Validate branch as soon as it is selected
* Working path validation upfront
* normalize paths
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
* esc when creating worktree name cancels create operation
* Find main repo for createworktree command palette to prevent repo picker
* error handling of creating worktree
* add back repo picker for create worktree... command
* Saving my work
* Got the variable widget working
* Refactored the variable widget
* Clean up the attachment widget
* Content provider stub
* Add proposed API for chat context
* Add method to get the complete details of a commit
* Add support for size
* Add support for extracting user id from GitHub no-reply email addresses
* Fix git blame email parsing
* Extrat link into function
* Added the new view
* Add support for getting N number of commits
* Added view title actions
* More work to enable view/repository actions
* Expand the view by default, and always show the last N commits
* Add context menu actions
* Improve actions
* Basic infinite scrolling implemented
* Better implementation using --skip instead of a cursor
* Do not refresh graph when pressing Refresh
* Refactor load more/caching
* Rename the view
* Add support for the find widget
* Hacked up the starting point
* More progress
* More progress
* Simplified algo, basic support for colors
* Add the concept of secondary colors for merge commits
* Further optimizations of the algo
* Bug fixes to clean-up algo
* Add support for curved branches
* Keep track of nodes that are moved so that the second parent for the merge commit is rendered in the correct swimlane
* Account for offset when drawing a base commit
* Algo rework completed
* Revert some of the hacks that were put in place to quickly get going
* Add caching to the history items used in the graph
Remove more hacks that were in place
* Added initial tests
* More work so that incoming/outgoing works along history
* Uncomment more code
* Bug fixes to edge cases
* Experiment with a new rendering for curved branches
* Handle repository with a single commit
* Maintain swimlanes
* Fix condition
* Saving my changes
* More polish and clean-up
* Remove code that is not needed
* Revert change
* Revert more changes
* More fixes
* Rename interface
* One last minor change
* Pull request feedback
* More refactoring
* More pull request feedback
* Fix layering issues
* git: allow querying whether files are gitignore
This exposes `checkIgnore`, which I want to use in copilot to determine
which files I should go into when checking references.
* rename method