Skip to content

Commit 8b9b9e2

Browse files
committed
fix: internally create a Stash with non-deprecated initializer args
this is so that non-deprecated use of this gem will not produce deprecation warnings that the user can't fix.
1 parent b7b7f38 commit 8b9b9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/stashes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def initialize(base)
1212

1313
@base.lib.stashes_all.each do |indexed_message|
1414
_index, message = indexed_message
15-
@stashes.unshift(Git::Stash.new(@base, message, true))
15+
@stashes.unshift(Git::Stash.new(@base, message, save: true))
1616
end
1717
end
1818

0 commit comments

Comments
 (0)