lib/apps/git.rb in dev-2.1.89 vs lib/apps/git.rb in dev-2.1.90

- old
+ new

@@ -23,9 +23,20 @@ def self.url url='' url=`git config --get remote.origin.url` if(File.exists?('.git')) end + @@master_url='' + def self.master_url + @@master_url + end + def self.master_url=(url) + @@master_url=url + end + def self.is_fork? + self.master_url != self.url + end + def self.user_email email='' begin email=`git config --list`.scan(/user.email=([\d\w.@\-\+]+)/)[0][0] rescue \ No newline at end of file