Skip to content

🐞 Cloning Repository Without Git Installed Fails Silently #2031

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

Open
austincondiff opened this issue Apr 17, 2025 · 0 comments
Open

🐞 Cloning Repository Without Git Installed Fails Silently #2031

austincondiff opened this issue Apr 17, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@austincondiff
Copy link
Collaborator

austincondiff commented Apr 17, 2025

Description

When attempting to clone a repository from the welcome screen on a system where Git is not installed, CodeEdit opens a new empty folder in a new workspace instead of performing the clone. No error is shown to the user.

Steps to Reproduce

  1. Ensure Git is not installed on your system.
  2. Launch CodeEdit and open the welcome screen.
  3. Attempt to clone a repository using the "Clone Repository" option.
  4. Observe that an empty workspace opens, but no repository is cloned.
  5. No warning or error is displayed.

Expected Behavior

  • The user should be notified that Git is required and prompted to install it before attempting to clone a repository.

Actual Behavior

  • No warning is shown.
  • A new, empty workspace is opened without performing the clone operation.

Version Information

macOS: 15.4 Beta (24E5238a)
CodeEdit: Version 0.3.4-alpha (45)

Additional Context

Adding a check for Git's presence before attempting the clone and displaying an alert if it's not found would greatly improve user experience and prevent confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: 📋 Todo
Development

No branches or pull requests

1 participant