From: Linus Torvalds Date: Sat, 13 May 2006 15:11:19 GMT Subject: Re: Tracking branch history Message-ID: In-Reply-To: <20060513071753.GA21998@spearce.org> On Sat, 13 May 2006, Shawn Pearce wrote: > > + > + /* > + * If logging is required make sure we can append to the log. > + */ > + logpath = strdup(git_path("logs/%s", path + pfxlen)); I don't think you need the strdup(). I also think you might as well just let the logging silently fail, but hey, that's up to you. Linus