lib/apps/git.rb in dev-2.0.158 vs lib/apps/git.rb in dev-2.0.159
- old
+ new
@@ -13,9 +13,14 @@
''
end
end
end
+ def self.url
+ url=''
+ url=`git config --get remote.origin.url` if(File.exists?('.git'))
+ end
+
def self.remote_origin directory=''
url=''
directory=Dir.pwd if directory.length == 0
Dir.chdir(directory) do
begin
\ No newline at end of file