Class: ListLargeGitFiles

Inherits:
Object
  • Object
show all
Defined in:
lib/renuo/cli/app/list_large_git_files.rb

Instance Method Summary collapse

Instance Method Details

#runObject



4
5
6
7
8
# File 'lib/renuo/cli/app/list_large_git_files.rb', line 4

def run
  cmd = 'bash -c "join -o \'1.1 1.2 2.3\' <(git rev-list --objects --all | sort) ' \
        '<(git verify-pack -v objects/pack/*.idx | sort -k3 -n | tail -5 | sort) | sort -k3 -n"'
  puts `#{cmd}`
end