From: Junio C Hamano Date: Mon, 05 Mar 2007 21:27:31 GMT Subject: Re: [PATCH 1/3] git-branch: add --track and --no-track options Message-ID: <7v3b4jxtx8.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <45EC8959.1090303@lu.unisi.ch> Paolo Bonzini writes: > Actually ISTR that %n is not counted in the return value and that's why I wrote the code this way. Yes, that is correct. Some C lib implementations seem to count %n and others don't so it is not reliable. That is one of the reasons I personally have stayed away from fancier sscanf() constructs, both inside and outside git project.