[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] do not use GIT_CONFIG_LOCAL
From: |
Jim Meyering |
Subject: |
Re: [PATCH] do not use GIT_CONFIG_LOCAL |
Date: |
Fri, 26 Jun 2009 12:01:07 +0200 |
Paolo Bonzini wrote:
> "Despite being doucmented, I can't find any sign that it was ever used."
> (git commit dc87183). Doh.
>
> Bison should be updated, for the other projects I know the maintainers
> are listening on bug-gnulib. :-)
>
> Paolo
>
> 2009-06-26 Paolo Bonzini <address@hidden>
>
> * autoboot: Do not use GIT_CONFIG_LOCAL.
Yep, I did something similar for coreutils some time ago.
git_modules_config () {
GIT_CONFIG=.gitmodules git config "$@"
}
Do you know if one is more portable than the other?
I'll sync coreutils' bootstrap changes to gnulib.
> diff --git a/build-aux/bootstrap b/build-aux/bootstrap
> index 2087bab..9d93c86 100755
> --- a/build-aux/bootstrap
> +++ b/build-aux/bootstrap
> @@ -245,7 +245,7 @@ cleanup_gnulib() {
> }
>
> git_modules_config () {
> - GIT_CONFIG_LOCAL=.gitmodules git config "$@"
> + test -f .gitmodules && git config --file .gitmodules "$@"
> }
>
> # Get gnulib files.