HarshKapadia2 / HarshKapadia2/git-graph

Add warning message when .git directory is not selected

Open
#46 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
30
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Steps to reproduce:**

1: When selecting a directory, select the repo folder itself and not the (hidden) `.git` folder within.

2: This leads to a seemingly "endless" loop where 'Loading ..' never ends.

**Motivation:**
As a new user of the app, I was skimming the documentation and didn't read the fine print about selecting the `.git` folder inside the repository. (I do think the documentation is good and well written; I just happened to miss it).

If you can realistically only select the .git folder (or subfolders), then some notification/warning would make you understand why the repo is not being loaded properly when selecting the wrong folder.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.