Skip to content

fix(api,sync): Delimit positional arguments in git clone mirror invocations #374

Description

@euxaristia

Description

In crates/gitlawb-node/src/api/repos.rs (fork_repo) and crates/gitlawb-node/src/sync.rs (clone_repo), git clone --mirror passes positional arguments without preceding -- delimiters.

Proposed Fix

Add -- before positional path/URL arguments in git clone --mirror invocations across repos.rs and sync.rs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    crate:nodegitlawb-node — the serving node and REST APIkind:bugDefect fix — wrong or unsafe behaviorsev:lowCosmetic, cleanup, or nice-to-havesubsystem:apiNode REST API request/response surfacesubsystem:replicationMirror, replica, and cross-node sync

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions