lib/adapters/git_adapter.rb in idonethis-cli-0.13.2 vs lib/adapters/git_adapter.rb in idonethis-cli-0.13.3
- old
+ new
@@ -10,9 +10,13 @@
else
'1am'
end
::Git.open(dir).log.since(since_when)
- end
+ end
+
+ def repo?(dir)
+ File.exists?(File.join(dir, ".git"))
+ end
end
end
end