GIT-STAGE-BATCH-SUGGEST-FIXUP(1)

NAME
git-stage-batch-suggest-fixup - suggest a commit for a fixup

SYNOPSIS
git-stage-batch suggest-fixup [--line IDS] [--reset|--abort|--last] [--porcelain] [BOUNDARY]

git-stage-batch fixup suggest [--line IDS] [--reset|--abort|--last] [--porcelain] [BOUNDARY]

DESCRIPTION
suggest-fixup materializes the selected hunk or lines as one exact patch without changing the real index. The patch is based on the frozen HEAD tree; an index-relative hunk is rejected when that file's index entry differs from HEAD. It searches each disjoint old-file range independently and commutes the patch backward through a frozen linear commit range.

Output reports source-line lineage and the mechanical placement barrier separately. A placement barrier is candidate evidence, not proof of semantic ownership. Repeated invocations walk newest-first through commits supported by either form of evidence.

Pure additions to an existing tracked file use adjacent old-file lines as lineage anchors. An insertion into an empty tracked file can be suggested from placement evidence alone. Whole-file additions are unsupported.

OPTIONS

--line, --lines IDS
    Analyze only specific displayed line IDs.

--reset
    Start candidate search over from the most recent candidate.

--abort
    Clear suggestion state and exit without showing a candidate.

--last
    Re-show the last candidate without advancing.

--porcelain
    Output versioned JSON containing the Git object format, full object IDs, the frozen range, exact unit, lineage and placement evidence, candidate sources, and iteration position. A result without a candidate is still printed as a complete record and exits nonzero.

BOUNDARY
    Commit excluded from the target range. By default, use the fork point, or merge base, between HEAD and its configured upstream.

SAFETY
The command does not create commits, move refs, or change the working tree or real index. The selected patch and history range are bound to stable IDs; saved iteration state is discarded when the selection, range, or HEAD changes.

SEE ALSO
git-stage-batch(1), git-stage-batch-fixup(1), git-log(1)