summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-02-17 22:16:38 +0000
committerPaul Buetow <git@mx.buetow.org>2021-02-17 22:16:38 +0000
commit0798bb478bdd38e6f0856eac575d4bcc44b1a135 (patch)
treea8579b69b17edcd2958f8a2eb0c585fed732907f
parentf3c4dca986403b019cd9bc893074eb36516edbf4 (diff)
add more non bin types
-rwxr-xr-xgeheim.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/geheim.rb b/geheim.rb
index 69a1ed6..edc0359 100755
--- a/geheim.rb
+++ b/geheim.rb
@@ -20,6 +20,7 @@ $sync_repos = %w(dv vulcan)
# 3. Add README.md with examples
# 4. Refactor code a bit.
# 5. Refactor the commands a bit (e.g. unify view with cat and open)
+# 6. Rebase git repo (remove older commints)
module Git
def initialize
@@ -224,6 +225,10 @@ class Index < CommitFile
def is_binary?
if @description.include?(".txt")
false
+ elsif @description.include?(".csv")
+ false
+ elsif @description.include?(".md")
+ false
else
@description.include?(".")
end