Skip to content

"stg pop --spill" leaves patch modifications staged #445

Closed
@palves

Description

@palves

"stg pop --help" says:

-s, --spill
Keep patches' modifications in working tree after popping

But actually running it, it is not what I observe. Instead, the patches' modifications are left staged / in the index. "git diff" shows no working tree changes that are not in the index, and "git diff --cached" shows the changes from the patch that was popped.

$ stg version
Stacked Git 2.4.6
Copyright (C) 2005-2024 StGit authors
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
SPDX-License-Identifier: GPL-2.0-only
git version 2.43.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions