Skip to content

Rebase exec spawning looks incorrect #1

@drok

Description

@drok

When rebasing with 'exec git merge ...', sh is run with the duplicated cmd line as seen below:

TODO fragment:

exec git merge -s ours 9715f10e42

sh executed with 2 duplicated args:

  |   |           `-git,3585409 rebase --continue
  |   |               `-sh,4091723 -c git merge -s ours 9715f10e42 git merge -s ours 9715f10e42
  |   |                   `-git,4091724 merge -s ours 9715f10e42
  |   |                       `-vim,4091743 /home/radu/proj/git/.git/MERGE_MSG

$ strings /proc/4091723/cmdline
/bin/sh
git merge -s ours 9715f10e42
git merge -s ours 9715f10e42

The cmdline should not be duplicated

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