diff options
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -233,13 +233,13 @@ namespace :man do desc "Verify man pages are in sync" task :check => :build do - sh("git diff --quiet man") do |outcome, _| + sh("git diff --quiet --ignore-all-space man") do |outcome, _| if outcome puts puts "Manpages are in sync!" puts else - sh("GIT_PAGER=cat git diff man") + sh("GIT_PAGER=cat git diff --ignore-all-space man") puts puts "Man pages are out of sync. Above you can see the diff that got generated from rebuilding them. Please review and commit the results." |