meld r1009 - trunk/vc
- From: stevek svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1009 - trunk/vc
- Date: Thu, 26 Jun 2008 22:38:45 +0000 (UTC)
Author: stevek
Date: Thu Jun 26 22:38:44 2008
New Revision: 1009
URL: http://svn.gnome.org/viewvc/meld?rev=1009&view=rev
Log:
Support GIT_DIR
Modified:
trunk/vc/git.py
Modified: trunk/vc/git.py
==============================================================================
--- trunk/vc/git.py (original)
+++ trunk/vc/git.py Thu Jun 26 22:38:44 2008
@@ -45,6 +45,10 @@
self.root = location
return
location = os.path.dirname(location)
+ gitdir = os.environ.get("GIT_DIR")
+ if gitdir and os.path.isdir(gitdir):
+ self.root = gitdir
+ return
raise ValueError()
def commit_command(self, message):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]