Skip to content

Stash save does not behave the same as command line #4101

@implausible

Description

@implausible

Reproduction steps

  1. Create a stash using git_stash_save with default options.
  2. use git show stash@{0} in command line
  3. There are no diffs for the stash

Expected behavior

The expected behavior is that the stashed diffs are visible in command line.

Actual behavior

The diffs are not visible via command line.

Version of libgit2 (release number or SHA1)

37dba1a

Operating system(s) tested

Linux, Mac OSX

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