Re: Tracking branch history
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 13, 2006, 15:11 UTC
- Message-ID
- <Pine.LNX.4.64.0605130809580.3866@g5.osdl.org>
- In-Reply-To
- <20060513071753.GA21998@spearce.org>
On Sat, 13 May 2006, Shawn Pearce wrote:
Show 6 quoted lines
>
> +
> + /*
> + * 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