Skip to content
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

Downloading main/master branch of a repo with &rootDirectory=false still contains root directory #40

Open
ShadowCreator250 opened this issue Mar 26, 2021 · 1 comment

Comments

@ShadowCreator250
Copy link

Downloading the home directory (aka the master/main branch) of a repository with the &rootDirectory=false flag gives you a zip where the root directory (named <repo>-<main/master>) is still present. This is not the behavior I expected.

Example: https://minhaskamal.github.io/DownGit/#/home?url=https:%2F%2Fgithub.com%2FMinhasKamal%2FDownGit&rootDirectory=false returns a zip file with the DownGit-master root directory still present.

Is this a known limitation of this tool? Is this feature only available for sub-folders in the repository?

@MinhasKamal
Copy link
Owner

When the root repo link (or home directory) is entered into DownGit then it is processed differently. This is a solvable bug. Thanks so much for reporting it.
We shall try to solve this in next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants