# 'git config' vs 'git repo-config'

7 messages from 2007-02-04 to 2007-02-04. Participants: Marco Costalba, Junio C Hamano, Jakub Narebski.
Thread: https://gitlist.dev/t/6672

## Marco Costalba, 2007-02-04 09:38

Subject: 'git config' vs 'git repo-config'
Message-ID: <e5bfff550702040138r6580c36agf86e8f8191a40021@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550702040138r6580c36agf86e8f8191a40021%40mail.gmail.com

```
Hi Junio,

  I've seen that 'git repo-config' has been renamed 'git config', but
old name is still available for back compatibility.

Do you plan to remove it in a near future?

Probably you already now why I'm asking this ;-)

Thanks
Marco

```

## Junio C Hamano, 2007-02-04 09:47

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <7v8xfetft6.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v8xfetft6.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <e5bfff550702040138r6580c36agf86e8f8191a40021@mail.gmail.com>

```
"Marco Costalba" <mcostalba@gmail.com> writes:

>  I've seen that 'git repo-config' has been renamed 'git config', but
> old name is still available for back compatibility.

Exactly.  While I do not think qgit uses them, fsck-objects and
init-db also got shorter-and-sweeter synonyms.

> Do you plan to remove it in a near future?

Not me personally.  The recent shorter-and-sweeter synonyms are
too young to kick out their original names.  We probably should
wait for at least 6 months, preferrably longer, after the first
major release that introduced them.

> Probably you already now why I'm asking this ;-)

No.  But we should certainly draw up deprecation/removal
schedule.  It simply could be "never" ;-).

```

## Marco Costalba, 2007-02-04 10:00

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <e5bfff550702040200y4f09070fia3716ca949fddac7@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550702040200y4f09070fia3716ca949fddac7%40mail.gmail.com
In-Reply-To: <7v8xfetft6.fsf@assigned-by-dhcp.cox.net>

```
On 2/4/07, Junio C Hamano <junkio@cox.net> wrote:
> "Marco Costalba" <mcostalba@gmail.com> writes:
>
> > Probably you already now why I'm asking this ;-)
>
> No.  But we should certainly draw up deprecation/removal
> schedule.  It simply could be "never" ;-).
>

qgit needs to handle the text codec information 'i18n.commitencoding'

```

## Junio C Hamano, 2007-02-04 10:09

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <7v4pq2tet5.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v4pq2tet5.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <e5bfff550702040200y4f09070fia3716ca949fddac7@mail.gmail.com>

```
"Marco Costalba" <mcostalba@gmail.com> writes:

> On 2/4/07, Junio C Hamano <junkio@cox.net> wrote:
>> "Marco Costalba" <mcostalba@gmail.com> writes:
>>
>> > Probably you already now why I'm asking this ;-)
>>
>> No.  But we should certainly draw up deprecation/removal
>> schedule.  It simply could be "never" ;-).
>
> qgit needs to handle the text codec information 'i18n.commitencoding'

I thought you already fixed the header parser.  Is that a news?

I wonder what it has to do with the command deprecation/removal
schedule...

```

## Marco Costalba, 2007-02-04 10:23

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <e5bfff550702040223h56f1524x9e6c460445874063@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550702040223h56f1524x9e6c460445874063%40mail.gmail.com
In-Reply-To: <7v4pq2tet5.fsf@assigned-by-dhcp.cox.net>

```
On 2/4/07, Junio C Hamano <junkio@cox.net> wrote:
> "Marco Costalba" <mcostalba@gmail.com> writes:
>
> >
> > qgit needs to handle the text codec information 'i18n.commitencoding'
>
> I thought you already fixed the header parser.  Is that a news?
>

The parser is fixed from some week already.

Codec info is shown to user when opens settings dialog and could be
manually set by user there. If not present utf8 is assumed.

> I wonder what it has to do with the command deprecation/removal
> schedule...
>

I plan to release a point release after git-1.5 is out, so I'm
wondering if renaming git-repo-config --> git-config also in qgit.

BTW  'git-repo-config' seems to be currently used also by StGit

```

## Jakub Narebski, 2007-02-04 10:36

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <eq4ctk$9ae$3@sea.gmane.org>
URL: https://gitlist.dev/e/eq4ctk%249ae%243%40sea.gmane.org
In-Reply-To: <e5bfff550702040223h56f1524x9e6c460445874063@mail.gmail.com>

```
Marco Costalba wrote:

> I plan to release a point release after git-1.5 is out, so I'm
> wondering if renaming git-repo-config --> git-config also in qgit.

This would mean that you cannot use new qgit with older git instalations.
Not a good idea, I think...
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Junio C Hamano, 2007-02-04 10:52

Subject: Re: 'git config' vs 'git repo-config'
Message-ID: <7vmz3ury7w.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vmz3ury7w.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <e5bfff550702040223h56f1524x9e6c460445874063@mail.gmail.com>

```
"Marco Costalba" <mcostalba@gmail.com> writes:

>> "Marco Costalba" <mcostalba@gmail.com> writes:
>
> I plan to release a point release after git-1.5 is out, so I'm
> wondering if renaming git-repo-config --> git-config also in qgit.
>
> BTW  'git-repo-config' seems to be currently used also by StGit

It's really up to you and Catalin, but if you expect people
might run with git 1.4.4, it would make more sense to stick with
the tried-and-proven names and wait until you are reasonably
sure that everybody you care about are running at least 1.5.0.

The only reason the in-tree scripts git.git ships with use the
new names is because they know they are part of a revision that
has them.

```
