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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Catalin Marinas <catalin.marinas@...>, Peter Oberndorfer <kumbayo84@...>
Cc: Karl <kha@...>, Dan McGee <dpmcgee@...>, <git@...>
Date: Thursday, January 17, 2008 - 7:49 pm

On Thu, 17 January 2008, Catalin Marinas wrote:

Errr... this is not what I meant. What I meant here is why StGit doesn't
have a thin wrapper around "git config", so instead of all those calls
to "Run('git', 'config', '--get', name)" use "git_config(name)" etc.,
similarly to Git.pm and gitweb.perl (which also use git-config to parse
the config file; only git-cvsimport parses config file in Perl IIRC).

This way if you want to load the whole config file at once (like gitweb
now does, using "git config -z -l") you would have to make changes only
in one place.

-- 
Jakub Narebski
Poland
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH] Remove repo-config, Dan McGee, (Tue Jan 15, 11:19 pm)
Re: [RFC/PATCH] Remove repo-config, Peter Oberndorfer, (Wed Jan 16, 4:47 pm)
[STGIT PATCH] replace "git repo-config" usage by "git config", Peter Oberndorfer, (Wed Jan 16, 4:58 pm)
Re: [STGIT PATCH] replace "git repo-config" usage by "git co..., Jakub Narebski, (Thu Jan 17, 7:49 pm)
Re: [STGIT PATCH] replace "git repo-config" usage by "git co..., Peter Oberndorfer, (Wed Jan 16, 5:46 pm)
Re: [RFC/PATCH] Remove repo-config, Junio C Hamano, (Wed Jan 16, 4:13 pm)
Re: [RFC/PATCH] Remove repo-config, Junio C Hamano, (Wed Jan 16, 12:23 am)
Re: [RFC/PATCH] Remove repo-config, Dan McGee, (Wed Jan 16, 12:40 am)
Re: [RFC/PATCH] Remove repo-config, Junio C Hamano, (Wed Jan 16, 1:20 pm)
Re: [RFC/PATCH] Remove repo-config, Junio C Hamano, (Wed Jan 16, 4:32 pm)