From 7ce015d47a4f48007a2be4b5ef0848bf2f50b798 Mon Sep 17 00:00:00 2001 From: Tomasz Gieniusz Date: Fri, 22 Jan 2021 18:11:29 +1100 Subject: [PATCH] Use --really-refresh instead of --refresh --- lib/gem/release/context/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gem/release/context/git.rb b/lib/gem/release/context/git.rb index 4a505e9..6073772 100644 --- a/lib/gem/release/context/git.rb +++ b/lib/gem/release/context/git.rb @@ -3,7 +3,7 @@ module Release class Context class Git def clean? - system 'git update-index --refresh && git diff-index --quiet HEAD' + system 'git update-index -q --really-refresh && git diff-index --quiet HEAD' end def remotes