X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-p4import.py;h=60a758bfe3bf535733612d4a0843fb42055f4c80;hb=50acc58914bf02217e55fdd739a844f2bfc45410;hp=5c56cace0ef132c117e9e0f5624eaf375a5b84d2;hpb=38ebbacd93eb547b3608b64a2efc60fd79e1ea85;p=git.git diff --git a/git-p4import.py b/git-p4import.py index 5c56cace0..60a758bfe 100644 --- a/git-p4import.py +++ b/git-p4import.py @@ -193,13 +193,13 @@ class git_command: def get_config(self, variable): try: - return self.git("repo-config --get %s" % variable)[0].rstrip() + return self.git("config --get %s" % variable)[0].rstrip() except: return None def set_config(self, variable, value): try: - self.git("repo-config %s %s"%(variable, value) ) + self.git("config %s %s"%(variable, value) ) except: die("Could not set %s to " % variable, value)