Cody
Cody

Reputation: 2482

Why does Git Extensions show two entries in the log for a single stash?

When I create a stash, the contents of the stash show up in Git Extensions like a commit with two parents, one of which is the actual commit it stems from, and the other is an index which is named for that commit, but with no content. What's going on here?

Git Extensions log

Upvotes: 1

Views: 40

Answers (1)

Juliano
Juliano

Reputation: 41467

That is how git differentiates between items that were in the index (things that you git add'ed before git stash) and items that were in the working tree only.

Upvotes: 2

Related Questions