Re: git-config: replaces ~/.gitconfig symlink with real file

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Bradford Smith <bradford.carl.smith@...>, Nikolai Weibull <now@...>, <git@...>
Date: Tuesday, July 17, 2007 - 10:27 am

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


I second that.

Using an environment variable means having a configuration which is
about git in my shell's config file, and that's a source of a lot of
troubles. Murphy's law implies that one day, the environment variable
won't be set properly (because you changed your shell, because you
launch git from something which isn't a shell, because you logged-in
in a way that didn't read the config file in which the variable was
set, ...).

I can do with it, like many other software require an environment
variable, but I find the symlink trick much more robust.

-- 
Matthieu
-
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:
git-config: replaces ~/.gitconfig symlink with real file, Bradford Smith, (Sun Jul 15, 5:27 pm)
Re: git-config: replaces ~/.gitconfig symlink with real file, Catalin Marinas, (Tue Jul 17, 9:39 am)
Re: git-config: replaces ~/.gitconfig symlink with real file, Johannes Schindelin, (Tue Jul 17, 12:09 pm)
Re: git-config: replaces ~/.gitconfig symlink with real file, Johannes Schindelin, (Sun Jul 15, 7:30 pm)
Re: git-config: replaces ~/.gitconfig symlink with real file, Nikolai Weibull, (Mon Jul 16, 5:37 am)
Re: git-config: replaces ~/.gitconfig symlink with real file, Johannes Schindelin, (Tue Jul 17, 9:56 am)
Re: git-config: replaces ~/.gitconfig symlink with real file, Matthieu Moy, (Tue Jul 17, 10:27 am)
[PATCH 0/2] git-config should not replace symlink, Bradford C. Smith, (Wed Jul 25, 12:49 pm)
[PATCH 1/2] resolve symlinks when creating lockfiles, Bradford C. Smith, (Wed Jul 25, 12:49 pm)
Re: [PATCH 1/2] resolve symlinks when creating lockfiles, Junio C Hamano, (Wed Jul 25, 7:35 pm)
[PATCH] fully resolve symlinks when creating lockfiles, Bradford C. Smith, (Thu Jul 26, 1:34 pm)
Re: [PATCH] fully resolve symlinks when creating lockfiles, Morten Welinder, (Thu Jul 26, 3:34 pm)
Re: [PATCH] fully resolve symlinks when creating lockfiles, Bradford Smith, (Fri Jul 27, 12:50 pm)
Re: [PATCH] fully resolve symlinks when creating lockfiles, Johannes Schindelin, (Thu Jul 26, 2:35 pm)
[PATCH 2/2] use lockfile.c routines in git_commit_set_multiv..., Bradford C. Smith, (Wed Jul 25, 12:49 pm)