Skip to main content

sequencer_query_arguments

Function sequencer_query_arguments 

Source
pub fn sequencer_query_arguments(global_prefix: &[OsString]) -> Vec<OsString>
Expand description

What: Build the real-Git argument list: the caller’s global options, then one --git-path per head file. Vec<OsString> is the owned result. Why: --git-path resolves linked worktrees and GIT_DIR, which a lexical join cannot.

In TS you’d write (pseudocode):

const args = [...pre, 'rev-parse', '--path-format=absolute', '--git-path', 'MERGE_HEAD', /* ... */];