kblincoe / VisualGit_SE701_2019_1

1 stars 0 forks source link

Fixes #175 - Improve error message when attempting to pull without a repo #191

Closed aorthi closed 5 years ago

aorthi commented 5 years ago

Related Issue/Keyword: Fixes #175

Description: Changed the error message to be more descriptive and useful to new git users rather than simply printing the error response for the observed situation. Please see the

Testing

  1. Make sure no repositories are currently in the working directory.
  2. Log into VisualGit
  3. Click the 'pull' icon in the nav bar
  4. A modal box should appear with the message Failed to pull from remote as no repository is currently open. Either clone one from a remote location or open one locally

![](insert gif link between braces here)

nathan-cairns commented 5 years ago

Good job. Just one fix in the code and should be good to merge