Subject: Re: [STGIT PATCH] replace "git repo-config" usage by "git config"

From: Jakub Narebski <[email-masked]>
Date: Wed, 16 Jan 2008 13:13:35 -0800 (PST)

Peter Oberndorfer <[email-masked]> writes:

> "git repo-config" will be removed soon
> 
> Signed-off-by: Peter Oberndorfer <[email-masked]>
> ---
> since i am not good at creating log messages, feel free to change it :-)
> built on top of kha experimental patch
> passes all testcases for me

> @@ -47,7 +47,7 @@ class GitConfig:
>          if self.__cache.has_key(name):
>              return self.__cache[name]
>          try:
> -            value = Run('git', 'repo-config', '--get', name).output_one_line()
> +            value = Run('git', 'config', '--get', name).output_one_line()
>          except RunException:
>              value = self.__defaults.get(name, None)
>          self.__cache[name] = value

Strange that StGIT didn't abstracted out reading git config, like
Git.pm and gitweb.perl did.

BTW. will StGIT be using libgit-thin + PyGit, or is it not ready yet?

-- 
Jakub Narebski
Poland
ShadeHawk on #git