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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Tuesday, July 17, 2007 - 4:35 pm

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


Wouldn't it be nicer to avoid a lot of the complexity in checking
symlinks, environment variables and what not, and just overwrite the
file in place (with open(..., O_TRUNC | O_CREAT))? Does it happen
terribly often that git-config crashes in the middle and leaves the
file broken?

Fredrik Tolf

-
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:
Re: git-config: replaces ~/.gitconfig symlink with real file, Fredrik Tolf, (Tue Jul 17, 4:35 pm)
Re: git-config: replaces ~/.gitconfig symlink with real file, Johannes Schindelin, (Tue Jul 17, 4:48 pm)