[PATCH] Rename git-repo-config to git-config.

Signed-off-by: Tom Prince <tom.prince@ualberta.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Tom Prince
2007-01-28 16:16:53 -08:00
committed by Junio C Hamano
parent 829a686f1b
commit e0d10e1c63
58 changed files with 460 additions and 439 deletions

View File

@ -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)