8000 Git::Lib#stash_save not compatible with git 2.30.2 · Issue #537 · ruby-git/ruby-git · GitHub
[go: up one dir, main page]

Skip to content
Git::Lib#stash_save not compatible with git 2.30.2 #537
Open
@costa

Description

@costa

Subject of the issue

Git::Lib#stash_save seems to prepend '-- ' to stash message with specific git version

Your environment

  • version of git 2.30.2 and ruby-git 1.9.1
  • version of ruby 2.6.8p205

Steps to reproduce

gitx = Git::Lib.new(Git.init('.'))
gitx.stash_save 'SOME-MSG'`
gitx.stashes_all

Expected behaviour

=> [0, 'SOME-MSG']

Actual behaviour

=> [0, '-- SOME-MSG']

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

      0