From: Junio C Hamano Date: Tue, 26 Apr 2022 21:10:29 GMT Subject: Re: [RFC PATCH] git-compat-util: avoid failing dir ownership checks if running priviledged Message-ID: In-Reply-To: Carlo Arenas writes: > Agree with you that using strtol is better, but the added checks > and logic make it more complicated and go against the assumption > made in the commit message that the environment CAN'T be tampered > with. I think we require strto*l() here, to relieve us from worrying about "is int large enough?" question.