Skip to content

Drag and drop of non-repo folder is rejected #2063

Closed

Description

@JeffCohen

Description

When I drag/drop a folder from Finder, and that folder isn't a git repo yet, I get a message saying that it "isn't a git repository".

I would expect it to provide the same behavior as the "Add Local Repository" dialog, which lets you "Create and Add Repository" if the selected folder isn't a git repo yet.

Version

GitHub Desktop version: 0.6.1

OS version: macOS 10.12.5

Steps to Reproduce

  1. Drag an arbitrary folder (not a git repo) onto the main windown
  2. You'll get an error message saying that the folder isn't a repository

Expected behaviour: The folder should be converted into a Git repo, just like when you use the Add Local Repository feature. This was the behavior of the previous Desktop app.

Actual behaviour: I get an error message.

Reproduces how often: Every time.

Activity

  1. joshaber commented on Jun 20, 2017

    @joshaber
    Contributor

    Yeah, I think you're right. Let's track this as part of #2065.

  2. locked as resolved and limited conversation to collaborators on Jul 21, 2018
  3. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions