Re: [PATCH 0/3] git-clone fails when current user is not in /etc/passwd
- From
Taylor Braun-Jones <taylor@braun-jones.org>
- Date
- Dec 11, 2015, 02:20 UTC
- Message-ID
- <CAKfKJYvXfW+hOFcC=TUybLhkVbRm9dznaTAiHCO+RM14nGPbDw@mail.gmail.com>
- In-Reply-To
- <20151210213228.GB29055@sigill.intra.peff.net>
On Thu, Dec 10, 2015 at 4:32 PM, Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> So here's my solution, which instead carries the "is it bogus" flag > along with the default strings. > > [1/3]: ident: make xgetpwuid_self() a static local helper > [2/3]: ident: keep a flag for bogus default_email > [3/3]: ident: loosen getpwuid error in non-strict mode
1 definitely makes sense to me. As a newcomer to the git code base, I was wondering why it wasn't this way already.
2 and 3 solve my original problem - thanks!
Taylor