Skip to content

🐞 Cloning Repository Without Git Installed Fails Silently #2031

Open
@austincondiff

Description

@austincondiff

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

Status

🏃‍♂️ In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions