From 464d6e9ec484de537e42730eb2b8c119707462a0 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Thu, 12 Mar 2015 10:41:34 -0700 Subject: [PATCH] Simplifying requires --- bin/linguist | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/linguist b/bin/linguist index 6ac8f0a7..d1d9c306 100755 --- a/bin/linguist +++ b/bin/linguist @@ -2,10 +2,8 @@ # linguist — detect language type for a file, or, given a directory, determine language breakdown # usage: linguist [<--breakdown>] - -require 'linguist/file_blob' -require 'linguist/language' -require 'linguist/repository' +# +require 'linguist' require 'rugged' path = ARGV[0] || Dir.pwd