+
Skip to content

parsing the name of a branch with a forward slash "/" will fail #6

@omar-azmi

Description

@omar-azmi

parsing the name of a branch with a forward slash "/" will fail.
this is because the script always assumes that the portion after the slash contains a subdirectory, and not that it could be part of the branch name.

example:

parsing the branch feature/xyz of repo_name under user_name, and subdirectory /src/:
https://github.com/user_name/repo_name/tree/feature/xyz/src
will fail. because it gets parsed as branch = "feature", subdir = "/xyz/src/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载