Re: [PATCHv3] Updated patch series for providing mechanism to list available repositories
- From
Anders Kaseorg <andersk@mit.edu>
- Date
- Jul 28, 2010, 23:14 UTC
- Message-ID
- <1280358894.31999.9.camel@balanced-tree>
- In-Reply-To
- <20100728064251.GB743@dert.cs.uchicago.edu>
On Wed, 2010-07-28 at 01:42 -0500, Jonathan Nieder wrote:
> (if you use getpwent instead of getenv to fetch $HOME).
That seems like it could lead to problems with multiple users with the same UID, and possibly also on Windows. If it’s important to be paranoid here, what about all the other places Git already uses getenv("HOME"), including where it reads ~/.gitconfig?
Anders