这是indexloc提供的服务,不要输入任何密码
Skip to content

Space in git repository paths breaks Windows git pull #10757

@ggadwa

Description

@ggadwa

Component

c/v3-engine

What is the current behaviour?

Pulling the git repository on a windows box results in this error:

error: invalid path 'v3/crates/metadata-resolve/tests/failing/aggregate_expressions/count_distinct_return_type_cannot_use_non_int_inbuilt /metadata.json'
error: invalid path 'v3/crates/metadata-resolve/tests/failing/aggregate_expressions/count_distinct_return_type_cannot_use_non_int_inbuilt /resolve_error.snap'

I've noted this on a previous bug report on other URLs -- there's spaces in these URLs (before the final / in the path.). Removing the spaces should fix it.

What is the expected behaviour?

Should pull without errors on windows.

How to reproduce the issue?

Pulling the git repository on a windows boxes creates the error.

Screenshots or Screencast

n/a

Please provide any traces or logs that could help here.

n/a

Any possible solutions/workarounds you're aware of?

You could just get the zip or ignore these files, it's not a stoppage.

Keywords

space in path, metadata.json, resolve_error.snap, git

Metadata

Metadata

Assignees

No one assigned

    Labels

    k/v3-bugBug affecting Hasura v3 (DDN)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions